ba6584e4b6
* chore(nc-android): prepare for production build * refactor(nc-android): remove dead code * feat(nc-android): update native color theme * feat(nc-android): update native color theme * build(nc-android): fix rfd version issue * build(nc-android): fix dist dir no such file error * fix(nc-android): post rebase changes
16 lines
302 B
JavaScript
16 lines
302 B
JavaScript
const path = require('path');
|
|
const { default: merge } = require('webpack-merge');
|
|
const common = require('./webpack.common');
|
|
|
|
const entry = {
|
|
app: path.resolve(__dirname, 'src/index.tsx'),
|
|
};
|
|
|
|
module.exports = merge(common, {
|
|
mode: 'production',
|
|
node: {
|
|
__dirname: false,
|
|
},
|
|
entry,
|
|
});
|