File tree Expand file tree Collapse file tree 2 files changed +38
-1
lines changed
Expand file tree Collapse file tree 2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change 11# Oracle CX Commerce webpack plugin
2+
3+ ## Usage
4+
5+ Install the module:
6+
7+ ``` $xslt
8+ yarn add -D occ-webpack-plugin
9+ // or
10+ npm install occ-webpack-plugin
11+ ```
12+
13+ Now you can use DCU in your CI/CD pipelines.
14+
15+ ``` javascript
16+ const WebpackOnBuildPlugin = require (" occ-webpack-plugin" );
17+
18+ new WebpackOnBuildPlugin ({
19+ platform: path .resolve (__dirname , " platform" ),
20+ });
21+ ```
22+
23+ ## Deployment
24+
25+ Install the module:
26+
27+ ``` $xslt
28+ yarn add -D @oraclecc/dcu
29+ // or
30+ npm install @oraclecc/dcu
31+ ```
32+
33+ Transfer all files to the given Commerce Cloud administration interface from the platform folder.
34+
35+ ``` $xslt
36+ cd platform/
37+ npx dcu -k $APP_KEY -n $APP_NODE -x .
38+ ```
Original file line number Diff line number Diff line change 11{
2- "name" : " occ-webpack-build- plugin" ,
2+ "name" : " occ-webpack-plugin" ,
33 "description" : " Oracle CX Commerce webpack plugin" ,
44 "version" : " 1.0.0" ,
55 "main" : " index.js" ,
You can’t perform that action at this time.
0 commit comments