- 2ef3460: Remove deprecated
uglifycss
options - 2ef3460: Minimum Node version is now 20. Older versions may continue to work but are unsupported.
- Updated dependencies [2ef3460]
- Updated dependencies [2ef3460]
- @pwrs/[email protected]
- 24b4c45: update dependencies
- 3a53b40: Remove support for older node versions.
- Updated dependencies [3a53b40]
- @pwrs/[email protected]
- b283405: Update loader-utils dependency
- 5dec94c: Bump dependency
- 2b27339: Add a second parameter to the transform function which contains a
filePath
property, for use in error reporting, sourcemaps, etc.
-
2b27339: Fix
lit-css-loader
options which previously had to be wrapped in an object underoptions.options
module: { rules: [{ test: /\.css$/, loader: 'lit-css-loader', options: { options: { uglify: true, }, }, }], },
module: { rules: [{ test: /\.css$/, loader: 'lit-css-loader', options: { uglify: true, }, }], },
-
Updated dependencies [2b27339]
- @pwrs/[email protected]
-
1242fc1: Add support for transforms like Sass or PostCSS.
See individual packages READMEs for examples. TL;DR: Pass a function to plugin options which takes source text and outputs CSS text.
- Updated dependencies [1242fc1]
- @pwrs/[email protected]
- de52d50: Fix a good-old-npm-package-files-field error,
.cjs
files should now appear in package tarballs - Updated dependencies [de52d50]
- @pwrs/[email protected]
- 2b6c62b:
import
option renamed tospecifier
uglify
option added - ac46bb6: Released esbuild-plugin-lit-css and unified logic and options
- Updated dependencies [ac46bb6]
- @pwrs/[email protected]
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning. This change log adheres to standards from Keep a CHANGELOG.
- Fix build failure by escaping special characters
Fixes #1
Escapes backtick, backslash and ${ with a backslash when injecting the source CSS into a template literal in the generated ES module.