Skip to content

Commit 5aa3688

Browse files
author
Diabeu
committed
docs(README.md): change format to umd that contains iife, add replace property with small description
1 parent 034fe27 commit 5aa3688

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,16 @@ const htmlminOpts = {
7373
};
7474

7575
export default {
76-
entry: 'src/main.ts',
77-
format: 'iife',
78-
dest: 'dist/bundle.js',
76+
input: 'src/main.ts',
77+
output: {
78+
format: 'umd',
79+
file: 'dist/bundle.js'
80+
},
7981
plugins: [
8082
angular({
83+
// additional replace `templateUrl` and `stylesUrls` in every `.js` file
84+
// default: true
85+
replace: false,
8186
preprocessors: {
8287
template: template => minifyHtml(template, htmlminOpts),
8388
style: scss => {

0 commit comments

Comments
 (0)