cep-bundler
v0.0.12
Published
Packager for CEP extensions with TypeScript and Browserify + Live reloading & HMR
Downloads
2
Readme
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-bundler
configure
- Copy the
cep-config.js
file from thecep-starter
package into you project folder. - Modify desired options
Run the bundler:
./node_modules/.bin/cep-bundler
Or, 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