Copyright (C) 2017-2021 The Open Library Foundation
This software is distributed under the terms of the Apache License, Version 2.0. See the file "LICENSE" for more information.
Stripes Vendor Dll is a tool which can be used to create a DLL bundle. The bundle currently includes all 3rd party dependencies (react, moment, etc) found in stripes plus couple additional stripes dependencies (stripes-components, stripes-connect,stripes-logger,stripes-util).
There are two way to consume it:
-
Add
@folio/stripes-vendor-dll
topackage.json
(underdevDependencies
ordependencies
ifNODE_ENV=production
is used) in the ui module / platform you want to build:"@folio/stripes-vendor-dll": "1.0.0"
Then yarn it and run:
stripes build ./stripes.config.js --useDll ./node_modules/@folio/stripes-vendor-dll/output/stripesVendorDll.json
-
Clone stripes-vendor-dll from https://github.com/folio-org/stripes-vendor-dll and run:
cd ./stripes-vendor-dll && yarn && yarn build
Then from the module or platform folder run:
stripes build ./stripes.config.js --useDll ../stripes-vendor-dll/output/stripesVendorDll.json
See project STRIPES at the FOLIO issue tracker.
Other FOLIO Developer documentation is at dev.folio.org