Skip to content

Commit 3328875

Browse files
authored
Merge pull request #7142 from birkskyum/add-style-plugin
Add .css loader to esbuild
2 parents 48ed832 + 6275c72 commit 3328875

File tree

3 files changed

+187
-72
lines changed

3 files changed

+187
-72
lines changed

esbuild-config.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +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');
34

45
module.exports = {
56
entryPoints: ['./lib/index.js'],
@@ -9,6 +10,7 @@ module.exports = {
910
minify: false,
1011
sourcemap: false,
1112
plugins: [
13+
stylePlugin(),
1214
glsl({
1315
minify: true,
1416
}),

0 commit comments

Comments
 (0)