mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 10:34:15 +00:00
Specify scss for imports. Only clean css within src folder
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "webpack --watch",
|
"watch": "webpack --watch",
|
||||||
"watch:dev": "npm run server & npm run watch & npm run sass: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",
|
"clean:ngc": "rimraf **/*.ngfactory.ts **/*.css.shim.ts",
|
||||||
"sass": "node-sass src -o src --include-path node_modules --output-style compressed -q",
|
"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",
|
"sass:watch": "node-sass -w src -o src --include-path node_modules --output-style compressed -q",
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
@import './variables.scss';
|
@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";
|
@import "../../node_modules/font-awesome/scss/font-awesome.scss";
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@ export var commonPlugins = [
|
|||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
|
||||||
// Copy fonts and i18n
|
// Copy fonts, images and i18n to dist/assets
|
||||||
new CopyWebpackPlugin([
|
new CopyWebpackPlugin([
|
||||||
{
|
{
|
||||||
from: path.join(__dirname, 'node_modules', 'font-awesome', 'fonts'),
|
from: path.join(__dirname, 'node_modules', 'font-awesome', 'fonts'),
|
||||||
|
Reference in New Issue
Block a user