Browse Source

Fix sideEffects for vue styles

pull/2190/head
Artur Arseniev 7 years ago
parent
commit
c1fb490a73
  1. 2
      docs/getting-started.md
  2. 2
      package.json

2
docs/getting-started.md

@ -136,7 +136,7 @@ editor.BlockManager.add('my-block-id', {
// use `content` for static strings, `components` string will be parsed // use `content` for static strings, `components` string will be parsed
// and transformed in Components // and transformed in Components
components: '<span>HTML at some point</span>', components: '<span>HTML at some point</span>',
} }
] ]
} }
}) })

2
package.json

@ -6,7 +6,7 @@
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"homepage": "http://grapesjs.com", "homepage": "http://grapesjs.com",
"main": "dist/grapes.min.js", "main": "dist/grapes.min.js",
"sideEffects": false, "sideEffects": [ "*.vue", "*.css", "*.scss" ],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/artf/grapesjs.git" "url": "https://github.com/artf/grapesjs.git"

Loading…
Cancel
Save