diff --git a/tfjs-converter/package.json b/tfjs-converter/package.json index 220712ca108..8ac4f7f4c90 100644 --- a/tfjs-converter/package.json +++ b/tfjs-converter/package.json @@ -54,7 +54,7 @@ "yalc": "~1.0.0-pre.21" }, "scripts": { - "build": "yarn gen-json --test && tsc && copyfiles -f src/data/compiled_api.* dist/src/data/", + "build": "yarn gen-json --test && tsc", "build-core": "cd ../tfjs-core && yarn && yarn build", "build-core-ci": "cd ../tfjs-core && yarn && yarn build-ci", "build-npm": "./scripts/build-npm.sh", diff --git a/tfjs-converter/rollup.config.js b/tfjs-converter/rollup.config.js index 38309306e1c..4fde3ddcce0 100644 --- a/tfjs-converter/rollup.config.js +++ b/tfjs-converter/rollup.config.js @@ -54,7 +54,6 @@ function config({plugins = [], output = {}}) { // Polyfill require() from dependencies. commonjs({ namedExports: { - './src/data/compiled_api.js': ['tensorflow'], './node_modules/protobufjs/minimal.js': ['roots', 'Reader', 'util'] } }),