Skip to content

Commit 3da34e3

Browse files
committed
chore: config tweak
1 parent 5793676 commit 3da34e3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

webpack.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ const WEBPACK_ENV = process.env.WEBPACK_ENV
44

55
module.exports = {
66
context: __dirname,
7-
entry: './src/Api.ts',
7+
entry: {
8+
'./dist/workfront': './src/Api.ts'
9+
},
810
output: {
9-
path: __dirname + '/dist',
10-
filename: 'workfront.js',
11+
path: __dirname,
12+
filename: '[name].js',
1113
library: 'Workfront',
1214
libraryTarget: 'umd'
1315
},

0 commit comments

Comments
 (0)