diff --git a/package.json b/package.json index ccf65b3..c15a4c5 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "babel-loader" : "^8.0.6", "babel-plugin-graphql-tag" : "^2.5.0", "eslint" : "^6.7.1", - "fs" : "^0.0.1-security", "glob" : "^7.1.6", "graphql" : "^14.6.0", "graphql-tag" : "^2.10.1", diff --git a/webpack.config.js b/webpack.config.js index c3cd94b..03af2cf 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,6 @@ const path = require('path'); const glob = require('glob'); -const fs = require('fs'); +const fs = require('node:fs'); const magentoRoot = process.env.MAGENTO_ROOT || __dirname; // Example: /var/www/html const magentoTheme = process.env.MAGENTO_THEME || false; // Example: Magento/luma