0.0.12 • Published 7 years ago
cep-bundler v0.0.12
cep-bundler
This bundler allows you to write modern TypeScript code and bundle it into a CEP extension. It uses LiveReactload to get near instant updates whenever you make changes to a file. It takes a configuration file as input (it looks for it in the folder where you are running the command from).
The easiest way to use this package is to use the cep-starter package, which already depends on the cep-bundler and has a default configuration.
However, you can also use this package standalone, for that, follow the instructions below:
requirements
- macOS
- node.js
install
npm install --save cep-bundlerconfigure
- Copy the
cep-config.jsfile from thecep-starterpackage into you project folder. - Modify desired options
Run the bundler:
./node_modules/.bin/cep-bundlerOr, add to your package.json's scripts section:
"scripts": {
"start": "cep-bundler",
"build": "cep-bundler build"
}develop
git clone https://github.com/adobe-extension-tools/cep-bundler.git
cd cep-bundler
npm install
npm start