move svg-edit-config to src
parent
577673fa0a
commit
b53e37b240
|
@ -7,8 +7,8 @@ dist
|
|||
docs/jsdoc
|
||||
archive
|
||||
|
||||
svgedit-config-es.js
|
||||
svgedit-config-iife.js
|
||||
src/svgedit-config-es.js
|
||||
src/svgedit-config-iife.js
|
||||
svgedit-custom.css
|
||||
src/editor/xdomain-svgedit-config-iife.js
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ const filesAndReplacements = [
|
|||
output: 'src/editor/xdomain-svg-editor-es.html',
|
||||
replacements: [
|
||||
[
|
||||
'<script type="module" src="../../svgedit-config-es.js"></script>',
|
||||
'<script type="module" src="../svgedit-config-es.js"></script>',
|
||||
'<script type="module" src="xdomain-svgedit-config-es.js"></script>'
|
||||
]
|
||||
]
|
||||
|
@ -65,8 +65,8 @@ const filesAndReplacements = [
|
|||
'<script defer="defer" src="../../dist/redirect-on-lacking-support.js"></script>'
|
||||
],
|
||||
[
|
||||
'<script type="module" src="../../svgedit-config-es.js"></script>',
|
||||
'<script defer="defer" src="../../svgedit-config-iife.js"></script>'
|
||||
'<script type="module" src="../svgedit-config-es.js"></script>',
|
||||
'<script defer="defer" src="../svgedit-config-iife.js"></script>'
|
||||
],
|
||||
[
|
||||
'<script src="../external/dom-polyfill/dom-polyfill.js"></script>',
|
||||
|
|
2
lgtm.yml
2
lgtm.yml
|
@ -4,5 +4,5 @@ extraction:
|
|||
filters:
|
||||
- exclude: "src/editor/xdomain-svgedit-config-iife.js"
|
||||
- exclude: "src/editor/redirect-on-no-module-support.js"
|
||||
- exclude: "svgedit-config-iife.js"
|
||||
- exclude: "src/svgedit-config-iife.js"
|
||||
- exclude: "dist"
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
<!-- If you do not wish to add extensions by URL, you can add calls
|
||||
within the following file to svgEditor.setConfig -->
|
||||
<script type="module" src="../../svgedit-config-es.js"></script>
|
||||
<script type="module" src="../svgedit-config-es.js"></script>
|
||||
|
||||
<!-- FEEDS -->
|
||||
<link rel="alternate" type="application/atom+xml"
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
<!-- If you do not wish to add extensions by URL, you can add calls
|
||||
within the following file to svgEditor.setConfig -->
|
||||
<script defer="defer" src="../../svgedit-config-iife.js"></script>
|
||||
<script defer="defer" src="../svgedit-config-iife.js"></script>
|
||||
|
||||
<!-- FEEDS -->
|
||||
<link rel="alternate" type="application/atom+xml"
|
||||
|
|
|
@ -18,7 +18,7 @@ For default config and extensions (and available options) available to
|
|||
`setConfig()`, see the file `docs/tutorials/ConfigOptions.md`
|
||||
*/
|
||||
|
||||
import svgEditor from './src/editor/svg-editor.js';
|
||||
import svgEditor from './editor/svg-editor.js';
|
||||
|
||||
// URL OVERRIDE CONFIG
|
||||
svgEditor.setConfig({
|
Loading…
Reference in New Issue