Duplicates
Latest version
Current behavior 馃槸
If I write a namespace it gets stripped out of JavaScript code.
(Both on build and dev)
Expected behavior 馃
It shouldn't
Steps to reproduce 馃暪
Steps:
- Run
npm init solid and create a basic project
- Move to
src/routes/index.tsx
- Add the following code
namespace Test {
export const test = "test";
}
console.log(Test);
- Excute
npm run dev and go to the page
Context 馃敠
No response
Your environment 馃寧
(I don't know what's the command)
- Windows 11 x64
- Npm
- @solidjs/start@1.0.0-rc.0
Duplicates
Latest version
Current behavior 馃槸
If I write a namespace it gets stripped out of JavaScript code.
(Both on build and dev)
Expected behavior 馃
It shouldn't
Steps to reproduce 馃暪
Steps:
npm init solidand create a basic projectsrc/routes/index.tsxnpm run devand go to the pageContext 馃敠
No response
Your environment 馃寧
(I don't know what's the command)