@gilt-tech/swig-bundle
Advanced tools
Comparing version 2.0.0 to 2.6.0-vue.1
12
index.js
@@ -161,5 +161,15 @@ | ||
// NOTE: exlcuding src/ as we want to fetch from the new app/ folder | ||
// NOTE: For current node apps, `src/` folder contains untranspiled sources, which will be | ||
// transpiled and put into `app/`. Therefore ignoring the `src/` altogether, as we don't want | ||
// to send incompatible code to old browsers | ||
`!${path.join(swig.target.path, '/public/js/**/src/**/*.js')}`, | ||
// NOTE: Modern apps which want to leverage on smarter bundling mechanics, i.e. webpack based | ||
// Can and should produce their artifacts in folder ignored by the swig bundling system, | ||
// which could inadvertently nullify any possible dynamic loading strategy or similar. | ||
// Choose one of the following: vue-app/ | artifacts/ | build/ | ||
`!${path.join(swig.target.path, '/public/js/**/vue-app/**/*.js')}`, | ||
`!${path.join(swig.target.path, '/public/js/**/artifacts/**/*.js')}`, | ||
`!${path.join(swig.target.path, '/public/js/**/build/**/*.js')}`, | ||
`!${path.join(swig.target.path, '/public/js/**/internal/**/*.js')}`, | ||
@@ -166,0 +176,0 @@ `!${path.join(swig.target.path, '/public/js/**/vendor/**/*.js')}`, |
{ | ||
"name": "@gilt-tech/swig-bundle", | ||
"description": "Bundles JavaScript assets.", | ||
"version": "2.0.0", | ||
"version": "2.6.0-vue.1", | ||
"repository": "https://github.com/gilt/swig/tree/master/packages/swig-bundle", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
21544
549
2