Whats wrong with this code ? it's always cause an error
const bundledCssFiles = [
path.join(process.cwd(),
"src\\assets\\vendor\\css\\bootstrap\\bootstrap.min.css"),
path.join(process.cwd(),"./src\\assets\\vendor\\css\\social\\social-
glyphicons.css"),
path.join(process.cwd(),"src\\styles.css")
];
{
"test": /\.css$/,
"exclude": bundledCssFiles,
"use": [
"exports-loader?module.exports.toString()",
{
"loader": "css-loader",
"options": {
"sourceMap": false,
"import": false
}
}
]
},
{
"include": bundledCssFiles,
"test": /\.css$/,
"use": [
"style-loader",
{
"loader": "css-loader",
"options": {
"sourceMap": false,
"import": false
}
}
]
},
The error is like this , Note that I'm try to use (s*) but its not work and Im use "@angular-builders/custom-webpack": "^7.1.4", "webpack": "~4.8.0", "webpack-cli": "^2.1.3"

Aucun commentaire:
Enregistrer un commentaire