Skip to content

Commit

Permalink
feat: replace node sass with dart sass
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Mar 21, 2021
1 parent 9d933bd commit fff7650
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 270 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# [1.4.0](https://github.com/hayes0724/shopify-packer/compare/1.3.8...1.4.0) (2021-03-21)


### :sparkles: Features

* replace node sass with dart sass ([9bdda25](https://github.com/hayes0724/shopify-packer/commit/9bdda25b2e056bca51141a36836ba7448bfe6363))



## [1.3.8](https://github.com/hayes0724/shopify-packer/compare/1.3.7...1.3.8) (2021-03-21)


Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hayes0724/shopify-packer",
"version": "1.3.8",
"version": "1.4.0",
"bin": {
"packer": "cli/index.js"
},
Expand Down Expand Up @@ -64,6 +64,7 @@
"extract-loader": "5.1.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"extract-zip": "^1.7.0",
"fibers": "^5.0.0",
"figlet": "^1.4.0",
"figures": "latest",
"file-loader": "^4.3.0",
Expand All @@ -76,14 +77,14 @@
"mini-css-extract-plugin": "^0.11.2",
"minimatch": "^3.0.4",
"minimist": "^1.2.5",
"node-sass": "^4.13.1",
"ora": "^4.0.4",
"portscanner": "latest",
"postcss": "^8.1.1",
"postcss-loader": "^4.0.2",
"postcss-preset-env": "latest",
"prettier": "^2.1.2",
"read-yaml": "^1.1.0",
"sass": "^1.32.8",
"sass-loader": "^10.1.0",
"selfsigned": "^1.10.8",
"style-loader": "^2.0.0",
Expand Down
8 changes: 7 additions & 1 deletion src/webpack/parts/scss.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ const postcssLoader = {

const sassLoader = {
loader: 'sass-loader',
options: {sourceMap: isDev},
options: {
sourceMap: isDev,
implementation: require('sass'),
sassOptions: {
fiber: false,
},
},
};

sassRule.use = [
Expand Down
Loading

0 comments on commit fff7650

Please sign in to comment.