mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
2e112e2406
* Add semi to ESLint rules * Add padded-blocks to ESLint rules * Add comma-dangle to ESLint rules * add config/webpack and storyboard * add streaming/ * yarn test:lint -- --fix
23 lines
537 B
JavaScript
23 lines
537 B
JavaScript
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'),
|
|
],
|
|
},
|
|
};
|