const path = require("path"); module.exports = { // See // to customize your Truffle configuration! contracts_build_directory: path.join(__dirname, "app/src/contracts"), networks: { development: { host: "localhost", port: 8545, network_id: "*" // Match any network id } }, compilers:{ solc: { version: "0.5.4", settings:{ optimizer: { enabled: true, runs: 500 } } } } };