-
-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
I'm submitting a bug report
-
Library Version:
2.0.0 -
Webpack Version:
4.27.0 -
Language:
TypeScript 3.1.2
I need my project to be bundled into a single .js file. This works until using aurelia-dialog which results in a whole bunch of extra chunks output by webpack.
Steps to reproduce
au new- Create a default TS project using webpack- Adjust the webpack config to not create chunks:
optimization: {
runtimeChunk: false,
splitChunks: {
cacheGroups: {
default: false
}
}
}
au build --env prod- Make a prod build and verify there is only one .js file.- Add aurelia dialog to the project
npm install --save aurelia-dialog- Actually use it, e.g. in
app.ts:
import { DialogController } from 'aurelia-dialog';
import { autoinject } from 'aurelia-framework';
export class App {
constructor(readonly controller: DialogController) { }
}
au build --env prod- Make a prod build and see there's a plethora of .js files
Metadata
Metadata
Assignees
Labels
No labels