mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-18 12:54:27 +01:00
Using: - expose-loader - exports-loader - import-loader - https://medium.com/@drgenejones/using-webpack-with-legacy-angular-spas-exposing-global-variables-to-child-modules-599e32f373c9
14 lines
203 B
JavaScript
14 lines
203 B
JavaScript
module.exports = {
|
|
test: /\.js(\?.erb)?$/,
|
|
use: [
|
|
{
|
|
loader: 'imports-loader',
|
|
options: {
|
|
imports: [
|
|
'default Application Application'
|
|
]
|
|
}
|
|
}
|
|
]
|
|
};
|