diff --git a/packages/remix-dev/rollup.config.js b/packages/remix-dev/rollup.config.js index 2c88485be7c..17a8d196bba 100644 --- a/packages/remix-dev/rollup.config.js +++ b/packages/remix-dev/rollup.config.js @@ -20,14 +20,7 @@ module.exports = function rollup() { return [ { - external(id, parent) { - if ( - id === "../package.json" && - parent === path.resolve(__dirname, "cli/create.ts") - ) { - return true; - } - + external(id) { return isBareModuleId(id); }, input: `${sourceDir}/index.ts`,