sdk: fix transpile exclusions

This commit is contained in:
Koushik Dutta
2021-10-18 20:40:50 -07:00
parent 433512bc86
commit e27af2cc82
3 changed files with 5 additions and 4 deletions

4
sdk/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/sdk",
"version": "0.0.82",
"version": "0.0.83",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/sdk",
"version": "0.0.82",
"version": "0.0.83",
"license": "ISC",
"dependencies": {
"@babel/core": "^7.2.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/sdk",
"version": "0.0.82",
"version": "0.0.83",
"description": "",
"main": "index.js",
"scripts": {

View File

@@ -29,7 +29,8 @@ module.exports = {
test: /\.(ts|js)x?$/,
// unsure if this is correct... need to transpile node modules at times.
// exclude: /(node_modules|bower_components)/,
exclude: /(core-js)/,
// exclude: /(core-js|)/,
exclude: /(core-js|node_modules|bower_components)/,
use: {
loader: 'babel-loader',
options: {