Commit a4427a51 by 张立顺

fix 修改构筑包名

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