Skip to content

Commit

Permalink
Merge branch 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdovhan committed Jun 16, 2024
2 parents dc42ce2 + 5b2269f commit 5b9908f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
17 changes: 17 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"postcss-preset-env": "^9.1.2",
"prettier": "^3.2.5",
"rollup": "^2.7.6",
"rollup-plugin-html-literals": "^1.1.8",
"rollup-plugin-minify-html-literals": "^1.2.6",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-postcss-lit": "^2.0.0",
Expand Down
8 changes: 5 additions & 3 deletions rollup.config.js → rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-env node */
import pkg from './package.json';
import { createRequire } from 'node:module';
import commonjs from '@rollup/plugin-commonjs';
import nodeResolve from '@rollup/plugin-node-resolve';
import json from '@rollup/plugin-json';
Expand All @@ -10,10 +10,13 @@ import postcss from 'rollup-plugin-postcss';
import postcssPresetEnv from 'postcss-preset-env';
import postcssLit from 'rollup-plugin-postcss-lit';
import { terser } from 'rollup-plugin-terser';
import minifyLiterals from 'rollup-plugin-minify-html-literals';
import minifyLiterals from 'rollup-plugin-html-literals';
import replace from '@rollup/plugin-replace';
import serve from 'rollup-plugin-serve';

const require = createRequire(import.meta.url);
const pkg = require('./package.json');

const IS_DEV = process.env.ROLLUP_WATCH;

const serverOptions = {
Expand All @@ -36,7 +39,6 @@ const plugins = [
},
preventAssignment: true,
}),

postcss({
plugins: [
postcssPresetEnv({
Expand Down

0 comments on commit 5b9908f

Please sign in to comment.