Skip to content

Commit

Permalink
change build location
Browse files Browse the repository at this point in the history
  • Loading branch information
FrenchYeti committed Sep 25, 2022
1 parent 12a14b7 commit 5b38872
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"version": "1.0.0",
"description": "A Frida-based library for hook system call (and interrupts) and produce strace-like output ",
"main": "index.ts",
"files": [
"src/**/*.d.ts",
"src/**/*.js",
"*.js",
"*.d.ts"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"target": "es2017", // es2017
"module": "commonjs",
"declaration": true,
"outDir": "./dist",
"outDir": ".",
"removeComments": true,
"sourceMap": false,
"typeRoots": [
Expand Down
5 changes: 3 additions & 2 deletions webpack.android.aarch32.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
const path = require('path');
const outputPath = path.resolve(__dirname, process.env.DXC_DIST ? 'dist':'.');

module.exports = {
entry: './dist/index.linux.aarch32.js',
entry: './index.linux.aarch32.js',
// devtool: 'inline-source-map',
target: 'node',
mode: 'production',
output: {
path: path.resolve(__dirname, 'dist'),
path: outputPath,
filename: 'android-aarch32-strace.min.js',
library: {
//name: 'Interruptor',
Expand Down
5 changes: 3 additions & 2 deletions webpack.android.arm64.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
const path = require('path');
const outputPath = path.resolve(__dirname, process.env.DXC_DIST ? 'dist':'.');

module.exports = {
entry: './dist/index.linux.arm64.js',
entry: './index.linux.arm64.js',
// devtool: 'inline-source-map',
target: 'node',
mode: 'production',
output: {
path: path.resolve(__dirname, 'dist'),
path: outputPath,
filename: 'android-arm64-strace.min.js',
library: {
//name: 'Interruptor',
Expand Down
5 changes: 3 additions & 2 deletions webpack.android.x64.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
const path = require('path');
const outputPath = path.resolve(__dirname, process.env.DXC_DIST ? 'dist':'.');

module.exports = {
entry: './dist/index.linux.x64.js',
entry: './index.linux.x64.js',
// devtool: 'inline-source-map',
target: 'node',
mode: 'production',
output: {
path: path.resolve(__dirname, 'dist'),
path: outputPath,
filename: 'android-x64-strace.min.js',
library: {
//name: 'Interruptor',
Expand Down

0 comments on commit 5b38872

Please sign in to comment.