1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-25 11:28:37 +01:00
js-bigchaindb-driver/webpack.common.js

30 lines
585 B
JavaScript

/* eslint-disable strict, no-console, object-shorthand */
'use strict'
const { paths } = require('./webpack.parts.js')
module.exports = {
entry: paths.entry,
mode: 'none',
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
},
}
]
},
optimization: {
minimize: true,
noEmitOnErrors: true
},
resolve: {
extensions: ['.js'],
modules: ['node_modules'],
},
}