@enhance/arc-plugin-rollup
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "@enhance/arc-plugin-rollup", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Use rollup.js to bundle pages for the browser in your Enhance project", | ||
@@ -14,3 +14,3 @@ "main": "src/index.js", | ||
"lint": "eslint src test --fix", | ||
"test": "tape test/test.js" | ||
"test": "tape test/test.js | tap-arc" | ||
}, | ||
@@ -30,6 +30,6 @@ "repository": { | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"rollup": "^3.2.5" | ||
"rollup": "^3.7.4" | ||
}, | ||
"devDependencies": { | ||
"@architect/sandbox": "^5.3.4", | ||
"@architect/sandbox": "^5.4.1", | ||
"tap-arc": "^0.3.5", | ||
@@ -36,0 +36,0 @@ "tape": "^5.6.1", |
@@ -51,9 +51,10 @@ const { join } = require('path') | ||
async watcher ({ filename, inventory }) { | ||
if (filename.indexOf('/app/browser/') > -1 || | ||
filename.indexOf('/app/pages/') > -1 || | ||
filename.indexOf('/app/elements/') > -1) { | ||
async watcher({ filename, inventory }) { | ||
const { cwd } = inventory.inv._project | ||
const appDir = join(cwd, 'app') | ||
if (filename.indexOf(appDir) === 0) { | ||
await build(inventory.inv) | ||
} | ||
} | ||
}, | ||
}, | ||
@@ -60,0 +61,0 @@ deploy: { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13862
Updatedrollup@^3.7.4