Also update the REAMDE to use the JS-version of the viewer script, so
that typeRoots don't have to be configured by the users.
See the [ustaxlib] repository for how to get started modeling taxes. To run the viewer, simply do:
- npx ustaxviewer-ts taxfile.ts
+ npx ustaxviewer taxfile.ts
Note that `taxfile.ts` should have a default export of the TaxReturn object to be rendered.
]
},
+ output: {
+ filename: '[name].bundle.js',
+ chunkFilename: '[name].bundle.js',
+ },
+
+ optimization: {
+ minimize: false,
+ splitChunks: {
+ chunks: 'all',
+ }
+ },
+
+ performance: {
+ hints: isTypescript
+ },
+
devServer: {
contentBase: [
PUBLIC,
"demos"
],
"exclude": [
- "node_modules/",
- "../ustaxlib"
+ "./node_modules/",
+ "./dist/"
]
}