Skip to content

Instantly share code, notes, and snippets.

@brandoncc
Last active April 21, 2021 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandoncc/17d35c8e9889989a2181a9b09041a6bb to your computer and use it in GitHub Desktop.
Save brandoncc/17d35c8e9889989a2181a9b09041a6bb to your computer and use it in GitHub Desktop.
const rules = require('./webpack.rules');
const plugins = require('./webpack.plugins');
rules.push({
test: /\.css$/,
use: ['style-loader', 'css-loader', 'postcss-loader'],
});
module.exports = {
module: {
rules,
},
plugins: plugins,
resolve: {
extensions: ['.js', '.ts', '.jsx', '.tsx', '.css']
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment