Changeset View
Changeset View
Standalone View
Standalone View
brunch-config.js
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | paths: { | ||||
public: "priv/static" | public: "priv/static" | ||||
}, | }, | ||||
// Configure your plugins | // Configure your plugins | ||||
plugins: { | plugins: { | ||||
babel: { | babel: { | ||||
// Do not use ES6 compiler in vendor code | // Do not use ES6 compiler in vendor code | ||||
ignore: [/web\/static\/vendor/] | ignore: [/web\/static\/vendor/] | ||||
}, | |||||
copycat: { | |||||
fonts: ["node_modules/bootstrap/fonts"] | |||||
} | } | ||||
}, | }, | ||||
modules: { | modules: { | ||||
autoRequire: { | autoRequire: { | ||||
"js/app.js": ["web/static/js/app"] | "js/app.js": ["web/static/js/app"] | ||||
} | } | ||||
}, | }, | ||||
npm: { | npm: { | ||||
enabled: true | enabled: true, | ||||
globals: { | |||||
$: "jquery", | |||||
jQuery: "jquery", | |||||
bootstrap: "bootstrap" | |||||
} | |||||
} | } | ||||
}; | }; |