Skip to content

Commit 640de93

Browse files
committed
fix(bundle): force resolve@1.8.1 dep for rollup-plugin-node-resolve
1 parent dd31c4f commit 640de93

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

scripts/build.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const SCRIPTS_DIR = __dirname;
77
const DIST_DIR = path.resolve(__dirname, '..', 'dist');
88
const BUILD_ID = getBuildId();
99

10+
execSync('npm install resolve@1.8.1', {
11+
cwd: path.join(__dirname, '..', 'node_modules', 'rollup-plugin-node-resolve')
12+
});
13+
1014
fs.removeSync(DIST_DIR);
1115

1216
transpile(path.join('..', 'src', 'build-conditionals', 'tsconfig.json'));

src/testing/testing-config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ export class TestingConfig implements d.Config {
2828
testing: d.TestingConfig;
2929
validateTypes = false;
3030
nodeResolve: d.NodeResolveConfig = {
31-
customResolveOptions: {
32-
preserveSymlinks: true,
33-
},
31+
customResolveOptions: {},
3432
};
3533
}

0 commit comments

Comments
 (0)