Skip to content

Commit

Permalink
fix(tools): Polyfill copied correctly in all scenarios (#1783)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev authored Jun 12, 2020
1 parent e7f380e commit a04f483
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tools/components-package/nps.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const path = require("path");

const LIB = path.join(__dirname, `../lib/`);
const NODE_MODULES_PATH = path.join(__dirname, `../../../node_modules/`);
const serveConfig = path.join(__dirname, `serve.json`);
const polyfillPath = path.join(NODE_MODULES_PATH, `/@webcomponents/webcomponentsjs/**/*.*`);
const polyfillDir = path.dirname(require.resolve("@webcomponents/webcomponentsjs"));
const polyfillPath = path.join(polyfillDir, "/**/*.*");

const getScripts = (options) => {

Expand Down

0 comments on commit a04f483

Please sign in to comment.