@abtasty/product-image-optimization
v0.7.8
Published
Product Image Optimization
Maintainers
Keywords
Readme
Product Image Optimization
This widget was generated using AB Tasty Widget CLI. You can find more infomation and documentation about widgets at https://abtasty.gitbooks.io/widget/.
Preview your widget
Launch your widget in a new window and watch for changes.
npm startMain files
main.jsMain source code of your widgetform.jsConfiguration form for your widgeticon.pngIcon for your widget (recommended size: 200x200px)
You can specify each file location in the package.json like this:
"main": "dist/main.js",
"form": "dist/form.js",
"icon": "icon.png",Included
- Rollup.js module bundler (like Webpack but smaller and faster).
- ES6 support using Babel.
- JavaScript Linting with ESLint and Airbnb style.
- JavaScript minified with UglifyJS.
- Prettier to format code.
Add your widget to AB Tasty
- First, you'll need to have your widget on NPM:
- Create a minified bundle with
npm run build - Bump the version of your widget (using semver) with
npm version [patch|minor|major] - Publish it to NPM:
npm publish
- Create a minified bundle with
- Once your widget is on NPM, you can now add it on AB Tasty at https://marketplace.abtasty.com/publish.
