Parcourir la source

libraryTarget: 'umd',

Andrey Titovskiy il y a 3 ans
Parent
commit
c05dc23f6e
3 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 1
      build/index.js
  2. 0 0
      build/index.js.map
  3. 1 0
      webpack.config.js

Fichier diff supprimé car celui-ci est trop grand
+ 1 - 1
build/index.js


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
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',
 	},

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff