@ts-liveserver/build
v2.0.0
Published
### NPX
Downloads
1
Readme
Build to ES6 modules
NPX
npx @ts-liveserver/build --directory=tmp/output ./App.ts
Installed
npm install @ts-liveserver/build --directory=tmp/output ./App.ts
ts-liveserver-build
Note about internal NodeJS modules
If one of your dependencies are using internal NodeJS-module, you need to add a conterpart that works in browser that will be resolved by the server. Simply add some of the dependencies to your project in order for this to work:
{
"dependencies": {
"events": "^3.3.0",
"stream": "^0.0.2",
"buffer": "^6.0.3",
"util": "^0.12.3",
"browserify-zlib": "^0.2.0",
"assert": "^2.0.0"
}
}