feat: rename bundle to instant.js and move build to umd dir
This commit is contained in:
@@ -2,11 +2,14 @@ const path = require('path');
|
||||
const ip = require('ip');
|
||||
// The common js bundle (not this one) is built using tsc.
|
||||
// The umd bundle (this one) has a different entrypoint.
|
||||
|
||||
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, 'umd'),
|
||||
library: 'zeroExInstant',
|
||||
libraryTarget: 'umd',
|
||||
},
|
||||
|
Reference in New Issue
Block a user