-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle bundling of relative node_modules paths for CSS url paths
- Loading branch information
1 parent
b9aaf7a
commit 5a39b1e
Showing
3 changed files
with
5 additions
and
2 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
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 |
---|---|---|
|
@@ -51,7 +51,7 @@ describe('Build Greenwood With: ', function() { | |
before(async function() { | ||
// this package has a known issue with import.meta.resolve | ||
// in that it has no main, module, or exports so it has to be hoisted | ||
// at least for this current version | ||
// at least for this current version, as well as for testing relative ../node_modules references | ||
// https://unpkg.com/browse/[email protected]/package.json | ||
// https://github.com/FortAwesome/Font-Awesome/pull/19041 | ||
const fontAwesomePackageJson = await getDependencyFiles( | ||
|
2 changes: 1 addition & 1 deletion
2
packages/cli/test/cases/build.default.import-node-modules/src/styles/theme.css
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
@import url('/node_modules/@spectrum-web-components/styles/all-large-dark.css'); | ||
@import url('/node_modules/font-awesome/css/font-awesome.css'); | ||
@import url('../../node_modules/font-awesome/css/font-awesome.css'); |