Co-authored-by: mashal-m <mashal.malik@arbisoft.com> Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
19 lines
416 B
JavaScript
19 lines
416 B
JavaScript
const path = require('path');
|
|
const { createConfig } = require('@openedx/frontend-build');
|
|
const CopyPlugin = require('copy-webpack-plugin');
|
|
|
|
const config = createConfig('webpack-prod');
|
|
|
|
config.plugins.push(
|
|
new CopyPlugin({
|
|
patterns: [
|
|
{
|
|
from: path.resolve(__dirname, './public/static'),
|
|
to: path.resolve(__dirname, './dist/static'),
|
|
},
|
|
],
|
|
}),
|
|
);
|
|
|
|
module.exports = config;
|