26 lines
603 B
JavaScript
26 lines
603 B
JavaScript
var webpack = require('webpack');
|
|
var merge = require('webpack-merge');
|
|
var generated = require('./scalajs.webpack.config');
|
|
var Path = require('path');
|
|
|
|
var local = {
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.css$/,
|
|
use: ['style-loader', 'css-loader']
|
|
},
|
|
{
|
|
test: /\.(ttf|eot|woff|png|glb|jpeg|jpg|mp4|jsn)$/,
|
|
use: 'file-loader'
|
|
},
|
|
{
|
|
test: /\.(eot)$/,
|
|
use: 'url-loader'
|
|
}
|
|
]
|
|
},
|
|
};
|
|
|
|
module.exports = merge(generated, local);
|