Andrey Titovskiy преди 3 години
родител
ревизия
209c895f02
променени са 4 файла, в които са добавени 5 реда и са изтрити 17 реда
  1. 3 13
      build/index.js
  2. 1 1
      build/index.js.map
  3. 1 1
      package.json
  4. 0 2
      webpack.config.js

+ 3 - 13
build/index.js

@@ -1,14 +1,5 @@
-(function webpackUniversalModuleDefinition(root, factory) {
-	if(typeof exports === 'object' && typeof module === 'object')
-		module.exports = factory();
-	else if(typeof define === 'function' && define.amd)
-		define([], factory);
-	else if(typeof exports === 'object')
-		exports["Branding"] = factory();
-	else
-		root["Branding"] = factory();
-})(typeof self !== 'undefined' ? self : this, function() {
-return /******/ (function(modules) { // webpackBootstrap
+var Branding =
+/******/ (function(modules) { // webpackBootstrap
 /******/ 	// The module cache
 /******/ 	var installedModules = {};
 /******/
@@ -14871,6 +14862,5 @@ class Vashden extends __WEBPACK_IMPORTED_MODULE_1_react__["PureComponent"] {
 // removed by extract-text-webpack-plugin
 
 /***/ })
-/******/ ])["default"];
-});
+/******/ ]);
 //# sourceMappingURL=index.js.map

Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
build/index.js.map


+ 1 - 1
package.json

@@ -2,7 +2,7 @@
   "name": "@unicraft/branding",
   "version": "1.0.0",
   "description": "unicraft branding files",
-  "main": "index.js",
+  "main": "./build/index.js",
   "scripts": {
     "build": "webpack"
   },

+ 0 - 2
webpack.config.js

@@ -12,8 +12,6 @@ module.exports = {
 		library: 'Branding',
 		path: path.resolve(__dirname, outputDirectory),
 		filename: 'index.js',
-		libraryTarget: 'umd',
-		libraryExport: 'default'
 	},
 	devtool: 'source-map',
 	module: {