fix libraryTarget = 'umd';

master v2.4.0-beta.5
git 8 years ago
parent 2738d7a90d
commit dae502d4ae

@ -17,10 +17,9 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Vue-upload-component Test</title>
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vue-upload-component@2.4.0-beta.4/dist/vue-upload-component.js"></script>
<script src="https://unpkg.com/vue-upload-component@2.4.0-beta.5/dist/vue-upload-component.js"></script>
</head>
<body>
<div id="app">

@ -1,5 +1,14 @@
exports["VueUploadComponent"] =
/******/ (function(modules) { // webpackBootstrap
(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["VueUploadComponent"] = factory();
else
root["VueUploadComponent"] = factory();
})(this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
@ -3444,5 +3453,7 @@ exports["VueUploadComponent"] =
/***/ })
/******/ ]);
/******/ ])
});
;
//# sourceMappingURL=vue-upload-component.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,7 +1,7 @@
{
"name": "vue-upload-component",
"description": "Vue.js file upload component, Support for multiple file uploads, progress, html5, html4, support ie9",
"version": "2.4.0-beta.4",
"version": "2.4.0-beta.5",
"author": "LianYue",
"scripts": {
"dev": "webpack-dev-server --inline --hot",

@ -9,4 +9,4 @@ module.exports.entry = {
}
module.exports.output.library = 'VueUploadComponent';
module.exports.output.libraryTarget = 'commonjs';
module.exports.output.libraryTarget = 'umd';

Loading…
Cancel
Save