-
-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolver priority issue (#1441)
* fix: #1433 * fix: #1433 * chore: bump version * chore: update skip example * chore: update skip example
- Loading branch information
Showing
11 changed files
with
143 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@farmfe/core": patch | ||
--- | ||
|
||
resolver priority exports field when string type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
1 change: 1 addition & 0 deletions
1
...olve/tests/fixtures/resolve-node-modules/exports/node_modules/@issues/1433/lib/default.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...esolve/tests/fixtures/resolve-node-modules/exports/node_modules/@issues/1433/package.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { defineConfig } from '@farmfe/core' | ||
|
||
export default defineConfig({ | ||
compilation: { | ||
output: { | ||
targetEnv: 'node' | ||
} | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// import {stringifyPosition} from 'unist-util-stringify-position'; | ||
|
||
// const node = { | ||
// type: 'text', | ||
// value: 'Hello, world!', | ||
// position: { | ||
// start: { line: 1, column: 1, offset: 0 }, | ||
// end: { line: 1, column: 13, offset: 12 } | ||
// } | ||
// }; | ||
|
||
// const positionString = stringifyPosition(node); | ||
// console.log(positionString); | ||
import {codes, constants, types, values} from 'micromark-util-symbol' | ||
|
||
console.log(codes.atSign) // 64 | ||
console.log(constants.characterReferenceNamedSizeMax) // 31 | ||
console.log(types.definitionDestinationRaw) // 'definitionDestinationRaw' | ||
console.log(values.atSign) // '@' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "@farmfe-examples/issues1433", | ||
"version": "1.0.0", | ||
"private": true, | ||
"description": "", | ||
"main": "index.js", | ||
"type": "module", | ||
"scripts": { | ||
"build": "farm build" | ||
}, | ||
"devDependencies": { | ||
"@farmfe/cli": "workspace:*", | ||
"@farmfe/core": "workspace:*" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"micromark-util-symbol": "^2.0.0", | ||
"unist-util-stringify-position": "^4.0.0" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.