Sfoglia il codice sorgente

libraryTarget: 'umd',

Andrey Titovskiy 3 anni fa
parent
commit
c05dc23f6e
3 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. 3 3
      build/index.js
  2. 1 1
      build/index.js.map
  3. 1 0
      webpack.config.js

File diff suppressed because it is too large
+ 3 - 3
build/index.js


File diff suppressed because it is too large
+ 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',
 	},