Commit a4427a51 by 张立顺

fix 修改构筑包名

1 parent 0808e44f
This diff could not be displayed because it is too large.
{
"name": "glsk-common",
"version": "2.10.2",
"version": "2.10.3",
"description": "glsk common",
"main": "./dist/glsk-common.js",
"private": false,
......
......@@ -7,8 +7,8 @@ import json from '@rollup/plugin-json'
export default {
input: './src/index.js',
output: {
file: './dist/glsx-common.js',
name: 'GLSX',
file: './dist/glsk-common.js',
name: 'GLSK',
// exports: 'default',
format: 'umd'
},
......
......@@ -6,8 +6,8 @@ module.exports = {
output: {
path: path.resolve(__dirname, './dist'),
// publicPath: "/dist/",
filename: 'glsx-common.js',
library: 'glsx-common',
filename: 'glsk-common.js',
library: 'glsk-common',
libraryTarget: 'umd',
umdNamedDefine: true
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!