Skip to content

Commit

Permalink
Add warnings to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ogonkov committed Sep 27, 2020
1 parent 9714caa commit 67a47f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ When loader emits warning, that means that XML parser failed to parse a file
and get dependencies from it. You probably would like to fix file syntax, to
have complete experience with webpack rebuild on change.

> :warn: Using builtin beautifier could break ES syntax in scripts, that is inlined
> via `<fest:script/>`. Consider switching off `beautify` option.
## Install
```bash
npm install --save-dev fest-webpack-loader
Expand Down Expand Up @@ -49,7 +52,7 @@ module.exports = {

|Name|Type|Default|Description|
|:--:|:--:|:-----:|:----------|
|**`beautify`**|`{Boolean}`|`true`|Beautify compiled template|
|**`beautify`**|`{Boolean}`|`false`|Beautify compiled template. Built-in beautifier breaks ES syntax.|
|**`trackDependencies`**|`{Boolean}`|`true` for development mode otherwise `false`|Enable template dependencies tracking|
|**`module`**|`{String}`|`es`|Compiled template module type. `es` or `cjs`.|

Expand Down

0 comments on commit 67a47f7

Please sign in to comment.