remove dxf-writer from webpack processing

This commit is contained in:
Val Erastov 2022-09-02 23:05:26 -07:00
parent 56c884ccfd
commit 05a4da0e09
2 changed files with 7 additions and 19 deletions

14
package-lock.json generated
View file

@ -9,7 +9,7 @@
"version": "0.1.0", "version": "0.1.0",
"license": "SEE LICENSE IN LICENSE", "license": "SEE LICENSE IN LICENSE",
"dependencies": { "dependencies": {
"@tarikjabiri/dxf": "^2.3.0", "@tarikjabiri/dxf": "^2.3.2",
"@types/three": "^0.143.0", "@types/three": "^0.143.0",
"browser-xml2js": "^0.4.19", "browser-xml2js": "^0.4.19",
"classnames": "2.2.5", "classnames": "2.2.5",
@ -2737,9 +2737,9 @@
} }
}, },
"node_modules/@tarikjabiri/dxf": { "node_modules/@tarikjabiri/dxf": {
"version": "2.3.0", "version": "2.3.4",
"resolved": "https://registry.npmjs.org/@tarikjabiri/dxf/-/dxf-2.3.0.tgz", "resolved": "https://registry.npmjs.org/@tarikjabiri/dxf/-/dxf-2.3.4.tgz",
"integrity": "sha512-dlCK7kmwGnS5Yfb969FFpYaNxppKbmnD45Ta2tpj/gcr6sMCSjNPfaFmOw1pbVGLxwY2urh0otaa7mCRAplqQg==", "integrity": "sha512-ChgsslM6XI3EAYxSwt2BBsqoIZ1RRO/DEuiAVHyaRohXZoeE36iyGnrwPa63ILw7OJLirwO1nimBtCfAimBOhw==",
"funding": { "funding": {
"url": "https://github.com/sponsors/dxfjs" "url": "https://github.com/sponsors/dxfjs"
} }
@ -15020,9 +15020,9 @@
} }
}, },
"@tarikjabiri/dxf": { "@tarikjabiri/dxf": {
"version": "2.3.0", "version": "2.3.4",
"resolved": "https://registry.npmjs.org/@tarikjabiri/dxf/-/dxf-2.3.0.tgz", "resolved": "https://registry.npmjs.org/@tarikjabiri/dxf/-/dxf-2.3.4.tgz",
"integrity": "sha512-dlCK7kmwGnS5Yfb969FFpYaNxppKbmnD45Ta2tpj/gcr6sMCSjNPfaFmOw1pbVGLxwY2urh0otaa7mCRAplqQg==" "integrity": "sha512-ChgsslM6XI3EAYxSwt2BBsqoIZ1RRO/DEuiAVHyaRohXZoeE36iyGnrwPa63ILw7OJLirwO1nimBtCfAimBOhw=="
}, },
"@types/body-parser": { "@types/body-parser": {
"version": "1.19.2", "version": "1.19.2",

View file

@ -60,18 +60,6 @@ module.exports = {
loader: 'babel-loader', loader: 'babel-loader',
include: [MODULES, WEB_APP, INTEGRATION_TESTS] include: [MODULES, WEB_APP, INTEGRATION_TESTS]
}, },
{
//Temporary until dxf-writer library publishes browser friendly bundle
test: /\.js$/,
include: [`${NODE_MODULES}/dxf-writer`],
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env'],
plugins: [
"@babel/proposal-class-properties"
]
}
},
{ {
test: /\.(less|css)$/, test: /\.(less|css)$/,
include: [GLOBAL_CSS, INTEGRATION_TESTS], include: [GLOBAL_CSS, INTEGRATION_TESTS],