1
0
Fork 0

Fix solvespace 3d models display

Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
Egor Savkin 2023-07-12 11:56:31 +08:00
parent 191d6a970b
commit ddd49b71af
5 changed files with 15 additions and 4 deletions

View File

@ -9,7 +9,7 @@ layout_css = "col-12 col-md-10 mx-auto"
{% div() %}
<script src="/js/hammer-2.0.8.js"></script>
<script src="/js/hammer.min.js"></script>
<script src="/js/three-r76.js"></script>
<script src="/js/SolveSpaceControls.js"></script>
{% end %}

File diff suppressed because one or more lines are too long

7
static/js/hammer.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,12 @@
const path = require('path');
module.exports = {
entry: './static/js/shop.min.js', // change this to your entry point
entry: {
shop: './static/js/shop.min.js'
},
output: {
path: path.resolve(__dirname, './static/js'), // change this to your output path
filename: 'shop.bundle.js'
path: path.resolve(__dirname, './static/js'),
filename: '[name].bundle.js'
},
module: {
rules: [