Stop importing cockpit's base1/patternfly.css
This is deprecated API and will be dropped at some point, in favor of projects shipping their own CSS. Install and import the styles from PF4 now. Update the travis config to run `make`, as `npm run build` by itself doesn't generate the file. Closes #315
This commit is contained in:
parent
8adad16874
commit
22db5fe5c0
12 changed files with 153 additions and 22 deletions
|
|
@ -115,6 +115,9 @@ var babel_loader = {
|
|||
|
||||
module.exports = {
|
||||
mode: production ? 'production' : 'development',
|
||||
resolve: {
|
||||
modules: [ nodedir ],
|
||||
},
|
||||
entry: info.entries,
|
||||
externals: externals,
|
||||
output: output,
|
||||
|
|
@ -133,19 +136,25 @@ module.exports = {
|
|||
test: /\.(js|jsx)$/
|
||||
},
|
||||
{
|
||||
exclude: /node_modules/,
|
||||
test: /\.scss$/,
|
||||
test: /\.s?css$/,
|
||||
use: [
|
||||
extract.loader,
|
||||
{
|
||||
loader: 'css-loader',
|
||||
options: { url: false }
|
||||
options: {
|
||||
sourceMap: true,
|
||||
url: false
|
||||
}
|
||||
},
|
||||
{
|
||||
loader: 'sass-loader',
|
||||
}
|
||||
options: {
|
||||
sourceMap: true,
|
||||
outputStyle: 'compressed',
|
||||
},
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
]
|
||||
},
|
||||
plugins: plugins
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue