Skip to content

Commit 5e94deb

Browse files
committed
Updated rollup's glsl() plugin.
1 parent 76d0e23 commit 5e94deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function glsl() {
162162

163163
if ( /\.glsl.js$/.test( id ) === false ) return;
164164

165-
code = code.replace( /\`((.*|\n|\r\n)*)\`/, function ( match, p1 ) {
165+
code = code.replace( /\/\* glsl \*\/\`((.*|\n|\r\n)*)\`/, function ( match, p1 ) {
166166

167167
return JSON.stringify(
168168
p1

0 commit comments

Comments
 (0)