Browse Source

parcel 1.9.0 with experimental scope hoisting

canonical-url
Jeremy Danyow 4 years ago
parent
commit
752f79370a
No known key found for this signature in database
GPG Key ID: 96C45DE6B2C1DF40
  1. 10
      .sassrc.js
  2. 2
      package.json

10
.sassrc.js

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

2
package.json

@ -21,7 +21,7 @@ @@ -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",

Loading…
Cancel
Save