aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-25 00:39:28 +0800
committerGitHub <noreply@github.com>2018-05-25 00:39:28 +0800
commit62431fee8e0c79a61f7ebb7677e6c88f0ae95116 (patch)
treef7aa155da9dd3a88d531d525f9f26f89b10e0e2a /packages/website
parent2f7ab3e32d1c54f42c435503426bc421fa89afd8 (diff)
parent357201869a56f01d33f3b1bf91be18a6029d5d7f (diff)
downloaddexon-sol-tools-62431fee8e0c79a61f7ebb7677e6c88f0ae95116.tar
dexon-sol-tools-62431fee8e0c79a61f7ebb7677e6c88f0ae95116.tar.gz
dexon-sol-tools-62431fee8e0c79a61f7ebb7677e6c88f0ae95116.tar.bz2
dexon-sol-tools-62431fee8e0c79a61f7ebb7677e6c88f0ae95116.tar.lz
dexon-sol-tools-62431fee8e0c79a61f7ebb7677e6c88f0ae95116.tar.xz
dexon-sol-tools-62431fee8e0c79a61f7ebb7677e6c88f0ae95116.tar.zst
dexon-sol-tools-62431fee8e0c79a61f7ebb7677e6c88f0ae95116.zip
Merge pull request #615 from 0xProject/refactor/json-schemas/for-v2
Refactor order schemas in json-schemas for v2
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/webpack.config.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/website/webpack.config.js b/packages/website/webpack.config.js
index f9abeb27c..b5e9cf6dd 100644
--- a/packages/website/webpack.config.js
+++ b/packages/website/webpack.config.js
@@ -1,6 +1,6 @@
const path = require('path');
const webpack = require('webpack');
-const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
+const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
module.exports = {
entry: ['./ts/index.tsx'],
@@ -25,6 +25,11 @@ module.exports = {
{
test: /\.js$/,
loader: 'source-map-loader',
+ exclude: [
+ // instead of /\/node_modules\//
+ path.join(process.cwd(), 'node_modules'),
+ path.join(process.cwd(), '../..', 'node_modules'),
+ ],
},
{
test: /\.tsx?$/,