This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
test: /\.css$/, | |
loader: "style-loader!css-loader?modules&importLoaders=1&camelCase!postcss-loader", | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: There must be a better way to do this - help appreciated! | |
############################################################### | |
# uploaded_file.rb - utility class | |
############################################################### | |
class UploadedFile | |
def self.size(file) | |
uploaded?(file) ? file.size : nil | |
end |
NewerOlder