You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am thinking about if can support resourceQueryExclude option. cause my project has a mpeg2-ts video with ts suffix. I will play it as a video file, which use rules.resourceQuery to emit it as 'asset/resource' like this:
However, when I import it, eslint lints it as a typescript file, and I just want to ignore it.
So, if can support resourceQueryExclude option to ignore the matched file, so that I can both lint typescript and ignore mpeg2-ts file. Only need to exclude because I don't think any case will needed resourceQuery to include.
Please paste the results of npx webpack-cli info here, and mention other relevant information
Feature Proposal
Hi, I am thinking about if can support resourceQueryExclude option. cause my project has a mpeg2-ts video with
ts
suffix. I will play it as a video file, which userules.resourceQuery
to emit it as 'asset/resource' like this:However, when I import it, eslint lints it as a typescript file, and I just want to ignore it.
So, if can support
resourceQueryExclude
option to ignore the matched file, so that I can both lint typescript and ignore mpeg2-ts file. Only need to exclude because I don't think any case will needed resourceQuery to include.Please paste the results of
npx webpack-cli info
here, and mention other relevant informationSystem:
OS: macOS 12.3.1
CPU: (8) x64 Apple M1
Memory: 20.63 MB / 16.00 GB
Binaries:
Node: 12.22.7 - /usr/local/bin/node
Yarn: 1.22.18 - /usr/local/bin/yarn
npm: 6.14.15 - /usr/local/bin/npm
Browsers:
Chrome: 102.0.5005.61
Firefox: 95.0.2
Safari: 15.4
Packages:
babel-loader: ^8.2.4 => 8.2.5
case-sensitive-paths-webpack-plugin: ^2.4.0 => 2.4.0
copy-webpack-plugin: ^10.2.4 => 10.2.4
css-loader: ^6.7.1 => 6.7.1
css-minimizer-webpack-plugin: ^3.4.1 => 3.4.1
esbuild-loader: ^2.18.0 => 2.19.0
eslint-webpack-plugin: ^3.1.1 => 3.1.1
html-webpack-plugin: ^5.5.0 => 5.5.0
postcss-loader: ^6.2.1 => 6.2.1
scoped-css-loader: ^1.0.0 => 1.0.0
style-loader: ^3.3.1 => 3.3.1
terser-webpack-plugin: ^5.3.1 => 5.3.3
thread-loader: ^3.0.4 => 3.0.4
vue-loader: ^15.9.8 => 15.9.8
webpack: ^5.70.0 => 5.73.0
webpack-bundle-analyzer: ^4.5.0 => 4.5.0
webpack-chain: ^6.5.1 => 6.5.1
webpack-dev-server: ^4.7.4 => 4.9.2
The text was updated successfully, but these errors were encountered: