query-loader-webpack-plugin
v2.0.1query-loader-webpack-plugin
webpack plugin for handling static assets with specified query
import asset as string
import string from './text.txt?raw';
import script as a Worker
Separate chunk in production build
import Worker from './worker.js?worker'
Shared Worker
import Worker from './worker.js?sharedworker'
inline worker
import Worker from './worker.js?worker&inline'
explicit url imports
import workletURL from 'extra-scalloped-border/worklet.js?url'
CSS.paintWorklet.addModule(workletURL)
npm i query-loader-webpack-plugin
Metadata
- ISC
- Whatever
- Unknown
- released 3/10/2022