Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #105 from marcosjunqueira/bug/npm_build
Browse files Browse the repository at this point in the history
Bug/npm build
  • Loading branch information
ogawa-takeshi committed Jul 12, 2018
2 parents 77c4a6e + b5fe67f commit 6cecad2
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions wallride-ui-admin/webpack.config.js
Expand Up @@ -23,22 +23,24 @@ module.exports = {
use: 'url-loader',
},
{
test: /src\/.+\.(ttf|otf|eot|svg|woff2?)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: 'file-loader',
options: {
name: '[name].[ext]',
publicPath: './font/',
emitFile: false
}
},
{
test: /node_modules\/.+\.(ttf|otf|eot|svg|woff2?)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: 'file-loader',
options: {
name: '[path][name].[ext]',
emitFile: false
}
}
test: /\.(ttf|otf|eot|svg|woff2?)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
exclude: /node_modules/,
loader: 'file-loader',
options: {
name: '[path][name].[ext]',
publicPath: './font/',
emitFile: false
}
},
{
test: /\.(ttf|otf|eot|svg|woff2?)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
include: /node_modules/,
loader: 'file-loader',
options: {
name: '[path][name].[ext]',
emitFile: false
}
}
]
},
plugins: [
Expand Down

0 comments on commit 6cecad2

Please sign in to comment.