Skip to content

Commit

Permalink
Remove virtual loader mentions from documentation
Browse files Browse the repository at this point in the history
This is unneeded with the changes in #18.
  • Loading branch information
backspace committed Jun 12, 2023
1 parent 82eea18 commit 06878d4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,6 @@ ember install glimmer-scoped-css
+ packagerOptions: {
+ webpackConfig: {
+ plugins: [new GlimmerScopedCSSWebpackPlugin()],
+ resolveLoader: {
+ alias: {
+ 'glimmer-scoped-css/virtual-loader': require.resolve(
+ 'glimmer-scoped-css/virtual-loader'
+ ),
+ },
+ },
+ },
+ },
});
Expand Down Expand Up @@ -205,7 +198,6 @@ The second part is a plugin for your current environment (by default, webpack) t

```
Error: 6:51 error "glimmer-scoped-css/webpack" is not found node/no-missing-require
Error: 51:13 error "glimmer-scoped-css/virtual-loader" is not found node/no-missing-require
```

The `eslint-plugin-node` package that produces this error doesn’t understand the `exports` structure supported by newer Node versions and is unmaintained. Ember CLI has [moved](https://github.com/ember-cli/ember-cli/issues/10055) to using `eslint-plugin-n` as a drop-in replacement as of 4.10.
Expand Down

0 comments on commit 06878d4

Please sign in to comment.