Please provide the environment you discovered this bug in.
#141
Which area/package is the issue in?
vite-plugin-angular
Description
#141 added the custom condition style to resolve.condition with no way to override:
|
resolve: { |
|
conditions: ['style'], |
|
}, |
However, I have a package.json that contains export definitions like this:
"./stylesheets/*": {
"style": "./dist/*/stylesheet.css",
"types": "./dist/*/stylesheet.d.ts",
"default": "./dist/*/stylesheet.js"
},
As I'm using css modules, I want the js import when importing from js, which #141 prevents.
Please provide the exception or error you saw
Other information
No response
I would be willing to submit a PR to fix this issue
Please provide the environment you discovered this bug in.
#141
Which area/package is the issue in?
vite-plugin-angular
Description
#141 added the custom condition
styletoresolve.conditionwith no way to override:analog/packages/vite-plugin-angular/src/lib/utils/plugin-config.ts
Lines 140 to 142 in cff12cd
However, I have a
package.jsonthat contains export definitions like this:As I'm using css modules, I want the js import when importing from js, which #141 prevents.
Please provide the exception or error you saw
Other information
No response
I would be willing to submit a PR to fix this issue