Przeglądaj źródła

libraryTarget: 'umd',

Andrey Titovskiy 3 lat temu
rodzic
commit
c05dc23f6e
3 zmienionych plików z 5 dodań i 4 usunięć
  1. 3 3
      build/index.js
  2. 1 1
      build/index.js.map
  3. 1 0
      webpack.config.js

Plik diff jest za duży
+ 3 - 3
build/index.js


Plik diff jest za duży
+ 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',
 	},