Closed cpa-gecko closed 5 years ago
The web root for static files contains a vendor.js file, which bundles global dependencies for pages. The seagull default global dependencies can be altered by adding a new entry to the package.json of the seagull project:
vendor.js
package.json
{ ..., "seagull": { ..., "vendorBundleIncludes": { "add": [ "someGlobalDependency", "somesubDependency/forExample", "lodash/isEqual" ], "remove": [ "somethingThatShouldBeInAllPages" ] } } }
A relevant case is the inclusion of sub-files of dependencies, like specific lodash functions via the following syntax:
lodash
include isEqual from 'lodash/isEqual'
These are not included by the default seagull global vendor dependencies.
Code Climate has analyzed commit 268b86d9 and detected 4 issues on this pull request.
Here's the issue category breakdown:
View more on Code Climate.
The web root for static files contains a
vendor.js
file, which bundles global dependencies for pages. The seagull default global dependencies can be altered by adding a new entry to thepackage.json
of the seagull project:A relevant case is the inclusion of sub-files of dependencies, like specific
lodash
functions via the following syntax:These are not included by the default seagull global vendor dependencies.