Wrong style when bundling with webpack
- Langage dominant
- TypeScript
- Étoiles
- 1.6k
- Forks
- 867
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I am getting different results when i am bundling in development or production with webpack.
The desired result would be the following one, when i am bundling in development mode:

And when i run the script to bundle in production mode i get this:

The script that i am using is this:
```
"scripts": {
"start": "node ./bin/www",
"build": "del-cli public/js/app && webpack --config webpack.config.dev.js --progress --profile --watch",
"build:prod": "del-cli public/js/app && ngc -p tsconfig.aot.json && ngc -p tsconfig.aot.json && webpack --config webpack.config.prod.js --progress --profile --bail && del-cli 'public/js/app/**/*.js' 'public/js/app/**/*.js.map' '!public/js/app/bundle.js' '!public/js/app/*.chunk.js' 'assets/app/**/*.ngfactory.ts' 'assets/app/**/*.shim.ts' 'assets/app/**/*.ngsummary.json' 'assets/app/**/*.ngstyle.ts'"
}
```
How can i solve this issue?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.