chore: rename dist file

This commit is contained in:
dntzhang 2020-04-13 13:04:03 +08:00
parent 650853116d
commit b707f7aa47
5 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@
</div>
<script src="https://tencent.github.io/omi/packages/omi/dist/omi.js"></script>
<script src="../../dist/OIconAccessAlarm.js"></script>
<script src="../../dist/AccessAlarm.js"></script>
</body>

View File

@ -4,9 +4,9 @@
else if(typeof define === 'function' && define.amd)
define(["omi"], factory);
else if(typeof exports === 'object')
exports["OIconAccessAlarm"] = factory(require("omi"));
exports["AccessAlarm"] = factory(require("omi"));
else
root["OIconAccessAlarm"] = factory(root["Omi"]);
root["AccessAlarm"] = factory(root["Omi"]);
})(this, function(__WEBPACK_EXTERNAL_MODULE_omi__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
@ -166,4 +166,4 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_omi__;
/******/ })["default"];
});
//# sourceMappingURL=OIconAccessAlarm.js.map
//# sourceMappingURL=AccessAlarm.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ const componentName = pkgName.name.split('/')[1]
const config = {
devtool: 'source-map',
entry: {
'OIconAccessAlarm': './esm/AccessAlarm.js'
'AccessAlarm': './esm/AccessAlarm.js'
},
output: {
path: path.resolve(__dirname, '../dist/'),