Releases: bennypowers/lit-css
Releases · bennypowers/lit-css
[email protected]
Patch Changes
- 5dec94c: Bump dependency
[email protected]
Patch Changes
- f3f6ed9: Bump esbuild dependency
[email protected]
Patch Changes
- 5dec94c: Bump dependency
@pwrs/[email protected]
Patch Changes
- d4ff2ca: Fixed the
transform
function signature's types.
[email protected]
Minor Changes
- 2b27339: Add a second parameter to the transform function which contains a
filePath
property, for use in error reporting, sourcemaps, etc.
Patch Changes
- Updated dependencies [2b27339]
- @pwrs/[email protected]
[email protected]
Minor Changes
- 2b27339: Add a second parameter to the transform function which contains a
filePath
property, for use in error reporting, sourcemaps, etc.
Patch Changes
-
2b27339: Fix
lit-css-loader
options which previously had to be wrapped in an object underoptions.options
Before
module: { rules: [{ test: /\.css$/, loader: 'lit-css-loader', options: { options: { uglify: true, }, }, }], },
After
module: { rules: [{ test: /\.css$/, loader: 'lit-css-loader', options: { uglify: true, }, }], },
-
Updated dependencies [2b27339]
- @pwrs/[email protected]
[email protected]
Minor Changes
- 2b27339: Add a second parameter to the transform function which contains a
filePath
property, for use in error reporting, sourcemaps, etc.
Patch Changes
- Updated dependencies [2b27339]
- @pwrs/[email protected]
@pwrs/[email protected]
Minor Changes
- 2b27339: Add a second parameter to the transform function which contains a
filePath
property, for use in error reporting, sourcemaps, etc.
[email protected]
Minor Changes
-
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.
Patch Changes
- Updated dependencies [1242fc1]
- @pwrs/[email protected]
[email protected]
Minor Changes
-
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.
Patch Changes
- Updated dependencies [1242fc1]
- @pwrs/[email protected]