Create dist/es folder for output bundle
This commit is contained in:
parent
f33b715391
commit
5ac813f091
|
@ -1,5 +1,5 @@
|
|||
/node_modules/
|
||||
/public/build/
|
||||
/public/dist/
|
||||
|
||||
.DS_Store
|
||||
.idea
|
|
@ -20,7 +20,7 @@
|
|||
<div id="jsoneditor"></div>
|
||||
|
||||
<script type="module">
|
||||
import jsoneditor from '../build/jsoneditor.module.js'
|
||||
import jsoneditor from '../dist/es/jsoneditor.js'
|
||||
|
||||
// create the editor
|
||||
const editor = jsoneditor({
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</p>
|
||||
|
||||
<script type="module">
|
||||
import jsoneditor from './build/jsoneditor.module.js'
|
||||
import jsoneditor from './dist/es/jsoneditor.js'
|
||||
|
||||
const json = {
|
||||
'array': [1, 2, 3, {
|
||||
|
|
|
@ -13,7 +13,7 @@ export default {
|
|||
sourcemap: true,
|
||||
format: 'esm', // esm, umd, cjs, iife
|
||||
name: 'JSONEditor',
|
||||
file: 'public/build/jsoneditor.module.js'
|
||||
file: 'public/dist/es/jsoneditor.js'
|
||||
},
|
||||
plugins: [
|
||||
svelte({
|
||||
|
|
Loading…
Reference in New Issue