query-loader-webpack-plugin

v1.0.0-beta.1
webpack plugin for enable loader rule with query suffix

query-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)

Metadata

  • ISC
  • Whatever
  • Unknown
  • released 11/4/2021

Downloads

Maintainers