Files: 20956805ea57c55adfae6a122f1cacdf51a0535d / webpack.config.js
480 bytesRaw
1 | var webpack = require("webpack"); |
2 | |
3 | module.exports = { |
4 | entry: './interface.js', |
5 | output: { |
6 | path: "./build", |
7 | filename: 'entropy_interface.js', |
8 | library: 'EntropyLib', |
9 | libraryTarget: 'var' |
10 | }, |
11 | module: { |
12 | loaders: [ |
13 | { test: /\.(js|jsx|es6)$/, exclude: /node_modules/, loader: "babel-loader"}, |
14 | { test: /\.json$/i, loader: "json-loader"}, |
15 | { test: /\.sol/, loader: 'truffle-solidity' } |
16 | ] |
17 | }, |
18 | devServer: { |
19 | stats: 'errors-only', |
20 | } |
21 | }; |
22 |
Built with git-ssb-web