diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-20 01:47:58 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-20 01:47:58 +0800 |
commit | 0648e270fe398c42804a7b27423faf60543e6072 (patch) | |
tree | 669803a2aea30bc9a545e3f8ae1c27dd8614b6b8 /packages/instant/webpack.config.js | |
parent | 3f0d94c83872ae80d6377fd4f712efa4c174a284 (diff) | |
parent | 99541f89f7676f6b0d8a923ad377fa901a74f504 (diff) | |
download | dexon-sol-tools-0648e270fe398c42804a7b27423faf60543e6072.tar dexon-sol-tools-0648e270fe398c42804a7b27423faf60543e6072.tar.gz dexon-sol-tools-0648e270fe398c42804a7b27423faf60543e6072.tar.bz2 dexon-sol-tools-0648e270fe398c42804a7b27423faf60543e6072.tar.lz dexon-sol-tools-0648e270fe398c42804a7b27423faf60543e6072.tar.xz dexon-sol-tools-0648e270fe398c42804a7b27423faf60543e6072.tar.zst dexon-sol-tools-0648e270fe398c42804a7b27423faf60543e6072.zip |
Merge branch 'development' into feature/instant/heap
Diffstat (limited to 'packages/instant/webpack.config.js')
-rw-r--r-- | packages/instant/webpack.config.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packages/instant/webpack.config.js b/packages/instant/webpack.config.js index 6a4953bcc..ce4f1672e 100644 --- a/packages/instant/webpack.config.js +++ b/packages/instant/webpack.config.js @@ -10,11 +10,15 @@ const GIT_SHA = childProcess .execSync('git rev-parse HEAD') .toString() .trim(); + +const outputPath = process.env.WEBPACK_OUTPUT_PATH || 'umd'; const config = { - entry: './src/index.umd.ts', + entry: { + instant: './src/index.umd.ts', + }, output: { - filename: '[name].bundle.js', - path: path.resolve(__dirname, 'public'), + filename: '[name].js', + path: path.resolve(__dirname, outputPath), library: 'zeroExInstant', libraryTarget: 'umd', }, |