@dream-encode/wp-js-plugin-utils 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,6 @@ const TerserPlugin = require('terser-webpack-plugin');
12
12
  const DependencyExtractionWebpackPlugin = require('@wordpress/dependency-extraction-webpack-plugin');
13
13
  const postcssPlugins = require('@wordpress/postcss-plugins-preset');
14
14
  const CSSAssetPlugin = require('./CSSAssetPlugin');
15
- const sassImporters = typeof sass.NodePackageImporter === 'function' ? [new sass.NodePackageImporter()] : [];
16
15
  const tryRequire = id => {
17
16
  try {
18
17
  return require(id);
@@ -121,7 +120,6 @@ const createWebpackConfig = (options = {}) => {
121
120
  api: 'modern',
122
121
  webpackImporter: false,
123
122
  sassOptions: {
124
- importers: sassImporters,
125
123
  loadPaths: [resolve(context, 'node_modules')]
126
124
  }
127
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dream-encode/wp-js-plugin-utils",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Common JS functionality used by custom WP plugins.",
5
5
  "keywords": [
6
6
  "wordpress",