mirror of
https://github.com/bendtherules/github-delete-unused-repos.git
synced 2026-08-18 13:52:59 +00:00
Add style loader to webpack config
This commit is contained in:
+6
-2
@@ -16,9 +16,13 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{ test: /\.js$/, loader: 'babel-loader' },
|
{ test: /\.js$/, loader: 'babel-loader', exclude: /node_modules/ },
|
||||||
// all files with a `.ts` or `.tsx` extension will be handled by `ts-loader`
|
// all files with a `.ts` or `.tsx` extension will be handled by `ts-loader`
|
||||||
{ test: /\.tsx?$/, loader: 'babel-loader!ts-loader' }
|
{ test: /\.tsx?$/, loader: 'babel-loader!ts-loader', exclude: /node_modules/ },
|
||||||
|
{
|
||||||
|
test:/\.css$/,
|
||||||
|
use:['style-loader','css-loader']
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|||||||
Reference in New Issue
Block a user