|
|
|
[ignore]
|
|
|
|
<PROJECT_ROOT>/app/main.prod.js
|
|
|
|
<PROJECT_ROOT>/app/main.prod.js.map
|
|
|
|
<PROJECT_ROOT>/app/dist/.*
|
|
|
|
<PROJECT_ROOT>/resources/.*
|
|
|
|
<PROJECT_ROOT>/release/.*
|
|
|
|
<PROJECT_ROOT>/dll/.*
|
|
|
|
<PROJECT_ROOT>/release/.*
|
|
|
|
<PROJECT_ROOT>/.git/.*
|
|
|
|
|
|
|
|
[include]
|
|
|
|
|
|
|
|
[libs]
|
|
|
|
flow-typed
|
|
|
|
|
|
|
|
[options]
|
|
|
|
esproposal.class_static_fields=enable
|
|
|
|
esproposal.class_instance_fields=enable
|
|
|
|
esproposal.export_star_as=enable
|
|
|
|
|
|
|
|
module.system.node.resolve_dirname=node_modules
|
|
|
|
module.system.node.resolve_dirname=app/node_modules
|
|
|
|
|
|
|
|
# Map stylesheets to csssmodule tyoe def
|
|
|
|
module.name_mapper.extension='css' -> '<PROJECT_ROOT>/internals/flow/CSSModule.js.flow'
|
|
|
|
module.name_mapper.extension='styl' -> '<PROJECT_ROOT>/internals/flow/CSSModule.js.flow'
|
|
|
|
module.name_mapper.extension='scss' -> '<PROJECT_ROOT>/internals/flow/CSSModule.js.flow'
|
|
|
|
|
|
|
|
# Map stylesheets to csssmodule tyoe def
|
|
|
|
module.name_mapper.extension='png' -> '<PROJECT_ROOT>/internals/flow/WebpackAsset.js.flow'
|
|
|
|
module.name_mapper.extension='jpg' -> '<PROJECT_ROOT>/internals/flow/WebpackAsset.js.flow'
|
|
|
|
module.name_mapper.extension='svg' -> '<PROJECT_ROOT>/internals/flow/WebpackAsset.js.flow'
|
|
|
|
|
|
|
|
# Map webpack resolved module imports to the app directory
|
|
|
|
# Example: components/Foo -> `<project_root>/app/components/Foo`
|
|
|
|
module.name_mapper='^components/\(.*\)$' -> '<PROJECT_ROOT>/app/components/\1'
|
|
|
|
module.name_mapper='^containers/\(.*\)$' -> '<PROJECT_ROOT>/app/containers/\1'
|
|
|
|
module.name_mapper='^lib/\(.*\)$' -> '<PROJECT_ROOT>/app/lib/\1'
|
|
|
|
module.name_mapper='^reducers/\(.*\)$' -> '<PROJECT_ROOT>/app/reducers/\1'
|
|
|
|
module.name_mapper='^routes/\(.*\)$' -> '<PROJECT_ROOT>/app/routes/\1'
|
|
|
|
module.name_mapper='^store/\(.*\)$' -> '<PROJECT_ROOT>/app/store/\1'
|
|
|
|
module.name_mapper='^icons/\(.*\)$' -> '<PROJECT_ROOT>/app/icons/\1'
|