2022-02-25 13:07:30 +01:00
|
|
|
const scopedcss = require('craco-plugin-scoped-css');
|
2022-02-25 22:58:08 +01:00
|
|
|
const path = require('path');
|
2022-02-26 16:06:32 +01:00
|
|
|
const webpack = require('webpack');
|
2022-02-24 22:56:27 +01:00
|
|
|
|
2022-02-23 21:06:07 +01:00
|
|
|
module.exports = {
|
2022-02-26 16:06:32 +01:00
|
|
|
webpack: {
|
|
|
|
|
plugins: {
|
|
|
|
|
add: [
|
|
|
|
|
new webpack.IgnorePlugin({resourceRegExp: /react-native-sqlite-storage/}),
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-02-23 21:06:07 +01:00
|
|
|
devServer: {
|
2022-02-25 22:58:08 +01:00
|
|
|
devMiddleware: {
|
|
|
|
|
writeToDisk: true,
|
|
|
|
|
},
|
|
|
|
|
|
2022-02-23 21:06:07 +01:00
|
|
|
port: 3300,
|
|
|
|
|
liveReload: true,
|
2022-02-25 22:58:08 +01:00
|
|
|
hot: true,
|
2022-02-24 22:56:27 +01:00
|
|
|
open: false,
|
2022-02-25 13:07:30 +01:00
|
|
|
},
|
|
|
|
|
plugins: [
|
|
|
|
|
{
|
|
|
|
|
plugin: scopedcss,
|
|
|
|
|
},
|
|
|
|
|
],
|
2022-02-23 21:06:07 +01:00
|
|
|
};
|