diff --git a/package.json b/package.json index 01e736ecb5..3814a97740 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "watch": "webpack --watch", "watch:dev": "npm run server & npm run watch & npm run sass:watch", - "clean:dist": "rimraf dist **/*.css", + "clean:dist": "rimraf dist src/**/*.css", "clean:ngc": "rimraf **/*.ngfactory.ts **/*.css.shim.ts", "sass": "node-sass src -o src --include-path node_modules --output-style compressed -q", "sass:watch": "node-sass -w src -o src --include-path node_modules --output-style compressed -q", diff --git a/src/styles/main.scss b/src/styles/main.scss index 9c447082a7..a150af617b 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -1,6 +1,6 @@ @import './variables.scss'; -@import '../../node_modules/bootstrap/scss/bootstrap'; +@import '../../node_modules/bootstrap/scss/bootstrap.scss'; @import "../../node_modules/font-awesome/scss/font-awesome.scss"; diff --git a/webpack.config.ts b/webpack.config.ts index 1966199165..1d4b927e13 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -14,7 +14,7 @@ export var commonPlugins = [ } ), - // Copy fonts and i18n + // Copy fonts, images and i18n to dist/assets new CopyWebpackPlugin([ { from: path.join(__dirname, 'node_modules', 'font-awesome', 'fonts'),