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)