mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
fix erb+nonJS loaders
This commit is contained in:
parent
0cf1b535cd
commit
72d79e8e31
@ -3,6 +3,7 @@
|
||||
<a ng-click="toggleNavSize($event)" class="btn btn-link visible-xs" data-toggle="class:nav-off-screen" data-target="#nav"><i class="fa fa-bars"></i></a>
|
||||
<a ui-sref="app.public.home" class="navbar-brand" ng-click="goabout = false">
|
||||
<img ng-src="{{logo.custom_asset_file_attributes.attachment_url}}" alt="{{logo.custom_asset_file_attributes.attachment}}" class="m-r-sm"/>
|
||||
<%= raw "<label class='label-staging label label-warning text-sm hidden-sm hidden-xs'>Staging</label>" if Rails.env.staging? %>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
test: /\.html\.erb$/,
|
||||
loader: [
|
||||
'html-loader',
|
||||
'rails-erb-loader',
|
||||
'html-loader'
|
||||
]
|
||||
};
|
||||
|
@ -3,6 +3,7 @@ module.exports = {
|
||||
enforce: 'pre',
|
||||
exclude: /node_modules/,
|
||||
loader: [
|
||||
'sass-loader',
|
||||
'rails-erb-loader'
|
||||
]
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user