diff --git a/tools/buildPackage.js b/tools/buildPackage.js index 42328de9bf2..5e3f549cedc 100644 --- a/tools/buildPackage.js +++ b/tools/buildPackage.js @@ -124,9 +124,6 @@ if (isLinux) { cmds.push('"node_modules/rcedit/bin/rcedit.exe" ./Brave-win32-' + arch + '/Brave.exe --set-version-string "SquirrelAwareVersion" "1"') } -cmds.push('mkdirp ' + path.join(buildDir, 'resources', 'app.asar.unpacked', 'node_modules', 'spellchecker', 'vendor', 'hunspell_dictionaries')) -cmds.push('ncp ' + path.join('node_modules', 'spellchecker', 'vendor', 'hunspell_dictionaries') + ' ' + path.join(buildDir, 'resources', 'app.asar.unpacked', 'node_modules', 'spellchecker', 'vendor', 'hunspell_dictionaries')) - if (isDarwin) { cmds.push('mkdirp ' + path.join(buildDir, 'Brave.app', 'Contents', 'Resources', 'app.asar.unpacked', 'node_modules', 'node-anonize2-relic-emscripten')) cmds.push('ncp ' + path.join('node_modules', 'node-anonize2-relic-emscripten', 'anonize2.js.mem') + ' ' + path.join(buildDir, 'Brave.app', 'Contents', 'Resources', 'app.asar.unpacked', 'node_modules', 'node-anonize2-relic-emscripten', 'anonize2.js.mem')) diff --git a/webpack.config.js b/webpack.config.js index fdf11b74cd6..ea2bf8f7376 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -56,7 +56,6 @@ function config () { }, plugins: [ new webpack.IgnorePlugin(/^\.\/stores\/appStore$/), - new webpack.IgnorePlugin(/^spellchecker/), new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify(env),