mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-12 09:41:01 +00:00
Bump dev (incl. eslint fixes) (#302)
* Bump dev (incl. eslint fixes) * Ordering fixes
This commit is contained in:
@@ -8,24 +8,16 @@ let workspacesBuildDirs = workspaces.map((workspace) => path.join(workspace, 'bu
|
||||
workspacesBuildDirs = workspacesBuildDirs.filter((item) => item !== path.join(__dirname, '../reactnative-identicon/build/'));
|
||||
|
||||
module.exports = {
|
||||
|
||||
// watch other packages as well as root node_modules
|
||||
watchFolders: [
|
||||
path.resolve(__dirname, '../../node_modules'),
|
||||
...workspacesBuildDirs
|
||||
],
|
||||
|
||||
// remap node packages to react-native packages
|
||||
resolver: {
|
||||
extraNodeModules: {
|
||||
crypto: require.resolve('react-native-crypto'),
|
||||
stream: require.resolve('stream-http'),
|
||||
vm: require.resolve('vm-browserify'),
|
||||
os: require.resolve('os-browserify'),
|
||||
process: require.resolve('process'),
|
||||
os: require.resolve('os-browserify')
|
||||
stream: require.resolve('stream-http'),
|
||||
vm: require.resolve('vm-browserify')
|
||||
}
|
||||
},
|
||||
|
||||
transformer: {
|
||||
getTransformOptions: () => ({
|
||||
transform: {
|
||||
@@ -33,5 +25,10 @@ module.exports = {
|
||||
inlineRequires: false
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
// watch other packages as well as root node_modules
|
||||
watchFolders: [
|
||||
path.resolve(__dirname, '../../node_modules'),
|
||||
...workspacesBuildDirs
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user