Skip to content

Commit

Permalink
[core] Fix generation of package.json file on Windows (#27160)
Browse files Browse the repository at this point in the history
[core] Fix generation of package.json file on Windows (#27160)
  • Loading branch information
mnajdova authored Jul 7, 2021
1 parent 125f3db commit 8cf7a0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/copy-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function createModulePackages({ from, to }) {
directoryPackages.map(async (directoryPackage) => {
const packageJson = {
sideEffects: false,
module: path.join('../esm', directoryPackage, 'index.js'),
module: path.posix.join('../esm', directoryPackage, 'index.js'),
typings: './index.d.ts',
};
const packageJsonPath = path.join(to, directoryPackage, 'package.json');
Expand Down

0 comments on commit 8cf7a0d

Please sign in to comment.