Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #335 from AsbertMa/dev
Browse files Browse the repository at this point in the history
extract css
  • Loading branch information
qianbin authored May 15, 2019
2 parents e9b59b0 + 60f6261 commit eb98105
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .electron-vue/webpack.renderer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ let rendererConfig = {
},
exclude: /node_modules/
},
{
test: /\.styl$/,
use: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: ['css-loader', 'stylus-loader']
})
},
{
test: /\.css$/,
use: ExtractTextPlugin.extract({
Expand Down Expand Up @@ -111,10 +118,6 @@ let rendererConfig = {
name: 'fonts/[name]--[folder].[ext]'
}
}
},
{
test: /\.styl$/,
loader: ['style-loader', 'css-loader', 'stylus-loader']
}
]
},
Expand Down

0 comments on commit eb98105

Please sign in to comment.