Skip to content

Commit

Permalink
output
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-hxl committed Nov 30, 2022
1 parent 87961c7 commit ce0d405
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { getBabelOutputPlugin } from '@rollup/plugin-babel'

const outputMap = [
{
file: 'publish/lib/index.js',
format: 'cjs'
file: 'publish/dist/index.mjs',
format: 'es'
},
{
file: 'publish/lib/index.mjs',
format: 'es'
file: 'publish/dist/index.js',
format: 'cjs'
}
].map((item) => {
return { ...item, compact: true }
Expand Down
2 changes: 1 addition & 1 deletion test/model.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let xlStore: IXlStore
if (model === 'dev') {
xlStore = require('../src').default
} else if (model === 'pro') {
xlStore = require('../publish/lib')
xlStore = require('../publish/dist')
}

/* test */
Expand Down

0 comments on commit ce0d405

Please sign in to comment.