class OpalWebpackLoader::Manifest

Public Class Methods

lookup_path_for(asset) click to toggle source
# File lib/opal-webpack-loader/manifest.rb, line 7
def self.lookup_path_for(asset)
  manifest[asset]
end
manifest() click to toggle source
# File lib/opal-webpack-loader/manifest.rb, line 3
def self.manifest
  @manifest ||= JSON.parse(File.read(OpalWebpackLoader.manifest_path))
end