瀏覽代碼

libraryTarget: 'umd',

Andrey Titovskiy 3 年之前
父節點
當前提交
c05dc23f6e
共有 3 個文件被更改,包括 5 次插入4 次删除
  1. 3 3
      build/index.js
  2. 1 1
      build/index.js.map
  3. 1 0
      webpack.config.js

文件差異過大導致無法顯示
+ 3 - 3
build/index.js


文件差異過大導致無法顯示
+ 1 - 1
build/index.js.map


+ 1 - 0
webpack.config.js

@@ -9,6 +9,7 @@ module.exports = {
 	entry: './src/index.js',
 	output: {
 		library: 'Branding',
+		libraryTarget: 'umd',
 		path: path.resolve(__dirname, outputDirectory),
 		filename: 'index.js',
 	},