File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
55const isProduction = process . env . NODE_ENV === 'production' ;
66const mode = isProduction ? 'production' : 'development' ;
77
8- const libraryName = 'js-library-boilerplate ' ;
8+ const libraryName = 'logger ' ;
99
1010module . exports = {
1111 mode,
@@ -17,10 +17,10 @@ module.exports = {
1717 output : {
1818 path : path . resolve ( __dirname , 'dist' ) ,
1919 filename : '[name].js' ,
20- library : libraryName ,
21- libraryTarget : 'umd ' ,
20+ library : 'Logger' ,
21+ libraryExport : 'default ' ,
2222 umdNamedDefine : true ,
23- globalObject : " typeof self !== 'undefined' ? self : this"
23+ globalObject : `( typeof self !== 'undefined' ? self : this)`
2424 } ,
2525 module : {
2626 rules : [
You can’t perform that action at this time.
0 commit comments