We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5793676 commit 3da34e3Copy full SHA for 3da34e3
1 file changed
webpack.config.js
@@ -4,10 +4,12 @@ const WEBPACK_ENV = process.env.WEBPACK_ENV
4
5
module.exports = {
6
context: __dirname,
7
- entry: './src/Api.ts',
+ entry: {
8
+ './dist/workfront': './src/Api.ts'
9
+ },
10
output: {
- path: __dirname + '/dist',
- filename: 'workfront.js',
11
+ path: __dirname,
12
+ filename: '[name].js',
13
library: 'Workfront',
14
libraryTarget: 'umd'
15
},
0 commit comments