mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
We switched to `pnpm` for testing instead of `yarn` for e2e tests containing customized node_modules packages, it works with `node_modules` folder before. Rename the existing `node_modules_bak` hack to make it easy to test with. Previously we use `yarn` but it will clean `node_modules` folder so we have to use another script to copy packages, it's not a required thing now so we can test package from node_modules directly without renaming folders locally Closes NEXT-2496
25 lines
473 B
JSON
25 lines
473 B
JSON
{
|
|
"name": "conditional-exports",
|
|
"main": "index.js",
|
|
"imports": {
|
|
"#dep": {
|
|
"react-server": "./dep.server.js",
|
|
"default": "./dep.js"
|
|
}
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"react-server": "./index.server.js",
|
|
"default": "./index.js"
|
|
},
|
|
"./subpath": {
|
|
"react-server": "./subpath.server.js",
|
|
"default": "./subpath.js"
|
|
},
|
|
"./react": {
|
|
"import": "./react.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
}
|
|
}
|