move svg-edit-config to src

master
JFH 2020-07-30 14:40:41 +02:00
parent 577673fa0a
commit b53e37b240
7 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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>',

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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({