Skip to content

Instantly share code, notes, and snippets.

@3dln
Last active October 14, 2020 08:18
Show Gist options
  • Save 3dln/e642907c718c23c461fcffbebc3374e4 to your computer and use it in GitHub Desktop.
Save 3dln/e642907c718c23c461fcffbebc3374e4 to your computer and use it in GitHub Desktop.
virgool webpack tutorial - 4-3
const path = require('path');
module.exports = {
entry: './src/index.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
},
module: {
rules: [
{
test: /\.css$/,
use: [
'style-loader',
'css-loader',
],
},
],
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment