Skip to content

Commit

Permalink
chore: update build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nonzzz committed Dec 23, 2024
1 parent 5a6b0cc commit fe92b95
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions packages/babel-plugin/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*
*/

import alias from '@rollup/plugin-alias';
import { nodeResolve } from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import json from '@rollup/plugin-json';
Expand Down Expand Up @@ -42,19 +41,13 @@ const config = {
},
external: process.env['HASTE']
? external
: [...external, 'esm-resolve', '@stylexjs/shared', '@stylexjs/stylex'],
plugins: [
alias({
entries: [
{
find: 'esm-resolve',
replacement: path.resolve(
rootDir,
'node_modules/esm-resolve/bundle.js',
),
},
: [
...external,
'@dual-bundle/import-meta-resolve',
'@stylexjs/shared',
'@stylexjs/stylex',
],
}),
plugins: [
babel({ babelHelpers: 'bundled', extensions, include: ['./src/**/*'] }),
nodeResolve({
preferBuiltins: false,
Expand Down

0 comments on commit fe92b95

Please sign in to comment.