Skip to content

Commit

Permalink
fix for umd, still wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Jan 7, 2025
1 parent 4a1df34 commit 57f9118
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ const createBabelConfig = require('./babel.config.js')
const extensions = ['.js', '.ts', '.tsx']
const { root } = path.parse(process.cwd())
const entries = [
{
find: /.*\/vanilla\/internals\.ts$/,
replacement: 'jotai/vanilla/internals',
},
{ find: /.*\/vanilla\/utils\.ts$/, replacement: 'jotai/vanilla/utils' },
{ find: /.*\/react\/utils\.ts$/, replacement: 'jotai/react/utils' },
{ find: /.*\/vanilla\.ts$/, replacement: 'jotai/vanilla' },
Expand Down Expand Up @@ -129,6 +125,7 @@ function createUMDConfig(input, output, env, clientOnly) {
'jotai/react': 'jotaiReact',
'jotai/vanilla/utils': 'jotaiVanillaUtils',
'jotai/react/utils': 'jotaiReactUtils',
'jotai/vanilla/internals': 'jotaiVanillaInternals',
},
},
external,
Expand Down

0 comments on commit 57f9118

Please sign in to comment.