imports-loader

v5.0.0
imports loader module for webpack
webpack

start

npm run build -- -w

clean

del-cli dist

prebuild

npm run clean

build

cross-env NODE_ENV=production babel src -d dist --copy-files

commitlint

commitlint --from=master

security

npm audit

lint:prettier

prettier --list-different .

lint:js

eslint --cache .

lint:spelling

cspell --no-must-find-files --cache --quiet "**/*.*"

lint

npm-run-all -l -p "lint:**"

fix:js

npm run lint:js -- --fix

fix:prettier

npm run lint:prettier -- --write

fix

npm-run-all -l fix:js fix:prettier

test:only

cross-env NODE_ENV=test jest

test:watch

npm run test:only -- --watch

test:coverage

npm run test:only -- --collectCoverageFrom="src/**/*.js" --coverage

pretest

npm run lint

test

npm run test:coverage

prepare

husky install && npm run build

release

standard-version
npm i imports-loader

Metadata

  • MIT
  • >= 18.12.0
  • Tobias Koppers @sokra
  • released 1/16/2024

Downloads