mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Changed libraryTarget to "umd" + rebuild 🚀
This commit is contained in:
@@ -9,8 +9,8 @@ module.exports = {
|
|||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, '../dist'),
|
path: path.resolve(__dirname, '../dist'),
|
||||||
publicPath: '/dist/',
|
publicPath: '/dist/',
|
||||||
library:'VueJsModal',
|
library:'vue-js-modal',
|
||||||
libraryTarget: 'commonjs2'
|
libraryTarget: 'umd'
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
|
|||||||
16
dist/index.js
vendored
16
dist/index.js
vendored
@@ -1,5 +1,14 @@
|
|||||||
module.exports =
|
(function webpackUniversalModuleDefinition(root, factory) {
|
||||||
/******/ (function(modules) { // webpackBootstrap
|
if(typeof exports === 'object' && typeof module === 'object')
|
||||||
|
module.exports = factory(require("vue"));
|
||||||
|
else if(typeof define === 'function' && define.amd)
|
||||||
|
define(["vue"], factory);
|
||||||
|
else if(typeof exports === 'object')
|
||||||
|
exports["vue-js-modal"] = factory(require("vue"));
|
||||||
|
else
|
||||||
|
root["vue-js-modal"] = factory(root["vue"]);
|
||||||
|
})(this, function(__WEBPACK_EXTERNAL_MODULE_16__) {
|
||||||
|
return /******/ (function(modules) { // webpackBootstrap
|
||||||
/******/ // The module cache
|
/******/ // The module cache
|
||||||
/******/ var installedModules = {};
|
/******/ var installedModules = {};
|
||||||
/******/
|
/******/
|
||||||
@@ -1167,8 +1176,9 @@ module.exports = function listToStyles (parentId, list) {
|
|||||||
/* 16 */
|
/* 16 */
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
module.exports = require("vue");
|
module.exports = __WEBPACK_EXTERNAL_MODULE_16__;
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
/******/ ]);
|
/******/ ]);
|
||||||
|
});
|
||||||
//# sourceMappingURL=index.js.map
|
//# sourceMappingURL=index.js.map
|
||||||
16
dist/ssr.index.js
vendored
16
dist/ssr.index.js
vendored
@@ -1,5 +1,14 @@
|
|||||||
module.exports =
|
(function webpackUniversalModuleDefinition(root, factory) {
|
||||||
/******/ (function(modules) { // webpackBootstrap
|
if(typeof exports === 'object' && typeof module === 'object')
|
||||||
|
module.exports = factory(require("vue"));
|
||||||
|
else if(typeof define === 'function' && define.amd)
|
||||||
|
define(["vue"], factory);
|
||||||
|
else if(typeof exports === 'object')
|
||||||
|
exports["vue-js-modal"] = factory(require("vue"));
|
||||||
|
else
|
||||||
|
root["vue-js-modal"] = factory(root["vue"]);
|
||||||
|
})(this, function(__WEBPACK_EXTERNAL_MODULE_16__) {
|
||||||
|
return /******/ (function(modules) { // webpackBootstrap
|
||||||
/******/ // The module cache
|
/******/ // The module cache
|
||||||
/******/ var installedModules = {};
|
/******/ var installedModules = {};
|
||||||
/******/
|
/******/
|
||||||
@@ -967,8 +976,9 @@ module.exports = function listToStyles (parentId, list) {
|
|||||||
/* 16 */
|
/* 16 */
|
||||||
/***/ (function(module, exports) {
|
/***/ (function(module, exports) {
|
||||||
|
|
||||||
module.exports = require("vue");
|
module.exports = __WEBPACK_EXTERNAL_MODULE_16__;
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
/******/ ]);
|
/******/ ]);
|
||||||
|
});
|
||||||
//# sourceMappingURL=ssr.index.js.map
|
//# sourceMappingURL=ssr.index.js.map
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-js-modal",
|
"name": "vue-js-modal",
|
||||||
"description": "Modal Component for Vue.js",
|
"description": "Modal Component for Vue.js",
|
||||||
"version": "1.2.1",
|
"version": "1.2.2",
|
||||||
"author": "euvl <yev.vlasenko@gmail.com>",
|
"author": "euvl <yev.vlasenko@gmail.com>",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user