1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 04:46:10 +01:00
metamask-extension/.storybook/webpack.config.js

38 lines
744 B
JavaScript
Raw Normal View History

2018-05-03 19:51:15 +02:00
const path = require('path')
module.exports = {
module: {
rules: [
{
test: /\.(woff(2)?|ttf|eot|svg|otf)(\?v=\d+\.\d+\.\d+)?$/,
loaders: [{
loader: 'file-loader',
options: {
name: '[name].[ext]',
outputPath: 'fonts/',
},
}],
},
{
test: /\.scss$/,
loaders: [
'style-loader',
'css-loader',
'resolve-url-loader',
{
loader: 'sass-loader',
options: {
sourceMap: true,
},
},
],
},
],
},
resolve: {
alias: {
2020-02-08 20:56:33 +01:00
'./fonts/Font_Awesome': path.resolve(__dirname, '../app/fonts/Font_Awesome'),
2018-05-03 19:51:15 +02:00
},
},
}