Skip to content

Commit

Permalink
fix buid : update config files
Browse files Browse the repository at this point in the history
SIKKA-6593[in progress]
  • Loading branch information
Mansourkira committed Mar 20, 2024
1 parent 37f7e9d commit 4b0bdfb
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 10 deletions.
18 changes: 10 additions & 8 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
const { NODE_ENV } = process.env;

export const presets = [
[
"@babel/preset-env",
{
modules: NODE_ENV === "test" ? "auto" : false,
},
module.exports = {
presets: [
[
"@babel/preset-env",
{
modules: NODE_ENV === "test" ? "auto" : false,
},
],
],
];
export const plugins = ["@babel/plugin-proposal-object-rest-spread"];
plugins: ["@babel/plugin-proposal-object-rest-spread"],
};
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"es6": true,
"node": true
},
"parser": "@babel/eslint-parser",
"extends": ["eslint:recommended"],
"rules": {}
}
20 changes: 20 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
"@rollup/plugin-commonjs": "~25.0.7",
"@rollup/plugin-node-resolve": "~15.2.3",
"@rollup/plugin-replace": "~5.0.5",
"@types/bcrypt": "~5.0.2",
"@types/jsonwebtoken": "~9.0.6",
"@wwa/rollup-plugin-terser": "~1.1.2",
"cross-env": "~7.0.3",
"eslint": "~8.57.0",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const makeConfig = (env = "development") => {
let bundleSuffix = env === "production" ? "min." : "";

return {
input: "./www/src/@sikka/hajar/core/index.ts",
input: "./www/src/@sikka/hajar/core/index.js",
external: EXTERNAL,
output: [
{
Expand Down

0 comments on commit 4b0bdfb

Please sign in to comment.