Skip to content

Commit

Permalink
Merge pull request #10 from indigotree/feature/remove-node-sass
Browse files Browse the repository at this point in the history
Remove @indigotree/dart-sass-json-importer
  • Loading branch information
paulgibbs authored Sep 29, 2022
2 parents 4c5dae8 + 35c42fc commit 4f463c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const path = require("path");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const { WebpackManifestPlugin } = require("webpack-manifest-plugin");
const DependencyExtractionWebpackPlugin = require("@wordpress/dependency-extraction-webpack-plugin");
const jsonImporter = require("@indigotree/dart-sass-json-importer");

const isDev = process.env.NODE_ENV !== "production";

Expand Down Expand Up @@ -48,11 +47,6 @@ module.exports = {
},
{
loader: "sass-loader",
options: {
sassOptions: {
importer: jsonImporter(),
},
},
},
],
},
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@indigotree/webpack-wp",
"version": "1.6.1",
"version": "2.0.0",
"description": "A webpack.config.js for WordPress",
"main": "index.js",
"repository": {
Expand All @@ -15,7 +15,6 @@
"homepage": "https://github.com/indigotree/webpack-wp#readme",
"dependencies": {
"@babel/core": "^7.15.5",
"@indigotree/dart-sass-json-importer": "^0.2.0",
"@wordpress/babel-preset-default": "^6.3.2",
"@wordpress/dependency-extraction-webpack-plugin": "^3.2.1",
"autoprefixer": "^10.3.4",
Expand Down

0 comments on commit 4f463c8

Please sign in to comment.