1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
const path = require('path');
module.exports = {
module: {
loaders: [
{
test: /\.(jpg|jpeg|png|gif|svg|eot|ttf|woff|woff2)$/i,
loader: 'url-loader',
},
{
test: /.scss$/,
loaders: ["style-loader", "css-loader", "postcss-loader", "sass-loader"],
},
],
},
resolve: {
modulesDirectories: [
path.resolve(__dirname, '..', 'storybook'),
path.resolve(__dirname, '..', 'app', 'javascript'),
path.resolve(__dirname, '..', 'node_modules'),
],
},
};
|