Framework that creates a sfmc compatible script from modern Javascript.
- importing dependencies for node_modules (if ssjs compatible) and local files.
- polyfills
- array functions (map, reduce, forEach)
- Object functions (keys)
- modern JS syntax
- environment variables
- ampScriptLoader
- htmlLoader
- TypesScriptLoader
the recommended way to install is by using the yeoman-generator:
npm install --global yo
npm install --global generator-ssjs
After Installation you can create a new ssjs project:
yo ssjs
cd <ssjs-project>
npm install
npm run build
- Log into Marketing Cloud
- Create a new Landingpage
- Copy the content of dist/index.html to the landing page
- publish the Landing page
Checkout the official documentation at https://adessose.github.io/ssjs-webpack/