Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰Apply sheetify and glslify after babelify #511

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 3 additions & 4 deletions lib/graph-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/ }), {
Expand Down Expand Up @@ -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 })

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down