@riosst100/pwa-marketplace 2.6.7 → 2.6.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/intercept.js +8 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@riosst100/pwa-marketplace",
3
3
  "author": "riosst100@gmail.com",
4
- "version": "2.6.7",
4
+ "version": "2.6.9",
5
5
  "main": "src/index.js",
6
6
  "pwa-studio": {
7
7
  "targets": {
package/src/intercept.js CHANGED
@@ -209,9 +209,16 @@ module.exports = targets => {
209
209
  }).apply(compiler);
210
210
  });
211
211
 
212
+ const path = require('path');
213
+
212
214
  targets.of('@magento/pwa-buildpack').webpackCompiler.tap(compiler => {
213
215
  new CopyPlugin({
214
- patterns: [{ from: 'node_modules/@riosst100/pwa-marketplace/src/static-files', to: 'static-files' }]
216
+ patterns: [
217
+ {
218
+ from: path.resolve(__dirname, '../src/static-files'),
219
+ to: 'static-files'
220
+ }
221
+ ]
215
222
  }).apply(compiler);
216
223
  });
217
224