diff --git a/lib/graph-script.js b/lib/graph-script.js index 2336c304..30ff86b9 100644 --- a/lib/graph-script.js +++ b/lib/graph-script.js @@ -55,10 +55,6 @@ function node (state, createEdge) { }) } - b.ignore('sheetify/insert') - b.transform(sheetify) - b.transform(glslify) - if (state.metadata.babelifyDeps) { // Dependencies should be transformed, but their .babelrc should be ignored. b.transform(tfilter(babelify, { include: /node_modules/ }), { @@ -86,6 +82,9 @@ function node (state, createEdge) { ] }) + b.ignore('sheetify/insert') + b.transform(sheetify, { global: true }) + b.transform(glslify, { global: true }) b.transform(brfs, { global: true }) b.transform(nanohtml, { global: true }) diff --git a/package.json b/package.json index ba1cb6af..7b86034a 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "selfsigned": "^1.10.2", "send": "^0.16.1", "server-router": "^6.0.0", - "sheetify": "^7.1.0", + "sheetify": "^7.4.0", "split-require": "^3.1.1", "split2": "^2.2.0", "strip-ansi": "^4.0.0",