parcel 1.9.0 with experimental scope hoisting

This commit is contained in:
Jeremy Danyow 2018-06-16 21:41:58 -07:00
parent b4ae960f47
commit 752f79370a
No known key found for this signature in database
GPG Key ID: 96C45DE6B2C1DF40
2 changed files with 11 additions and 1 deletions

10
.sassrc.js Normal file
View File

@ -0,0 +1,10 @@
const path = require('path')
const CWD = process.cwd()
module.exports = {
"includePaths": [
path.resolve(CWD, 'node_modules'),
path.resolve(CWD, 'src')
]
}

View File

@ -21,7 +21,7 @@
"prestart": "yarn run clean",
"start": "parcel serve src/*.html src/client.ts --no-hmr --port 4000",
"prebuild": "yarn run clean",
"build": "parcel build src/*.html src/client.ts",
"build": "parcel build src/*.html src/client.ts --experimental-scope-hoisting",
"lint": "tslint --project tsconfig.json",
"predeploy": "yarn run build && touch dist/.nojekyll && echo 'utteranc.es' > dist/CNAME",
"deploy": "gh-pages --dist dist",