Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7a6b267

Browse files
committed
change approach for bundling maplibre css to fix formatting issue
1 parent 7f74764 commit 7a6b267

File tree

3 files changed

+67
-88
lines changed

3 files changed

+67
-88
lines changed

‎esbuild-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var glsl = require('esbuild-plugin-glsl').glsl;
22
var environmentPlugin = require('esbuild-plugin-environment').environmentPlugin;
3-
const stylePlugin = require('esbuild-style-plugin');
3+
const InlineCSSPlugin = require('esbuild-plugin-inline-css');
44

55
module.exports = {
66
entryPoints: ['./lib/index.js'],
@@ -10,7 +10,7 @@ module.exports = {
1010
minify: false,
1111
sourcemap: false,
1212
plugins: [
13-
stylePlugin(),
13+
InlineCSSPlugin(),
1414
glsl({
1515
minify: true,
1616
}),

‎package-lock.json

Lines changed: 64 additions & 85 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"esbuild-plugin-browserify-adapter": "^0.1.4",
137137
"esbuild-plugin-environment": "^0.4.0",
138138
"esbuild-plugin-glsl": "^1.2.2",
139-
"esbuild-style-plugin": "^1.6.3",
139+
"esbuild-plugin-inline-css": "^0.0.1",
140140
"extra-iterable": "^2.5.22",
141141
"falafel": "^2.2.5",
142142
"fs-extra": "^10.1.0",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /