Skip to content

Commit

Permalink
Create unminified build
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Aug 21, 2023
1 parent f3c2a01 commit bcba6ff
Show file tree
Hide file tree
Showing 9 changed files with 333,361 additions and 97 deletions.
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<script type="module">

import {Server, BIMViewer, LocaleService} from "../dist/xeokit-bim-viewer.es.js";
import {Server, BIMViewer, LocaleService} from "../dist/xeokit-bim-viewer.min.es.js";

import {messages as localeMessages} from "../dist/messages.js";

Expand Down
166,604 changes: 166,566 additions & 38 deletions dist/xeokit-bim-viewer.es.js

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions dist/xeokit-bim-viewer.min.es.js

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions dist/xeokit-bim-viewer.min.umd.js

Large diffs are not rendered by default.

166,616 changes: 166,578 additions & 38 deletions dist/xeokit-bim-viewer.umd.js

Large diffs are not rendered by default.

118 changes: 101 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"name": "@xeokit/xeokit-bim-viewer",
"version": "2.4.9-alpha-22",
"description": "BIM viewer built on xeokit",
"main": "dist/xeokit-bim-viewer.es.js",
"main": "dist/xeokit-bim-viewer.min.es.js",
"files": [
"/dist/xeokit-bim-viewer.min.es.js",
"/dist/xeokit-bim-viewer.es.js",
"/dist/xeokit-bim-viewer.css",
"/dist/messages.js"
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import {terser} from "rollup-plugin-terser";
export default {
input: './index.js',
output: [{
file: './dist/xeokit-bim-viewer.es.js',
file: './dist/xeokit-bim-viewer.min.es.js',
format: 'es',
name: 'bundle'
},
{
file: './dist/xeokit-bim-viewer.umd.js',
file: './dist/xeokit-bim-viewer.min.umd.js',
format: 'umd',
name: 'bundle'
}],
Expand Down
19 changes: 19 additions & 0 deletions rollup.dev.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import {nodeResolve} from '@rollup/plugin-node-resolve';
import {terser} from "rollup-plugin-terser";

export default {
input: './index.js',
output: [{
file: './dist/xeokit-bim-viewer.es.js',
format: 'es',
name: 'bundle'
},
{
file: './dist/xeokit-bim-viewer.umd.js',
format: 'umd',
name: 'bundle'
}],
plugins: [
nodeResolve()
]
}

0 comments on commit bcba6ff

Please sign in to comment.