Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Merge branch 'cssmodules' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
ostowe committed Oct 16, 2017
2 parents bfb08cc + 3bb2535 commit 1db82ec
Show file tree
Hide file tree
Showing 13 changed files with 420 additions and 4,159 deletions.
7 changes: 4 additions & 3 deletions config/webpack.server.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const CleanPlugin = require('clean-webpack-plugin');

module.exports = function getConfig(env) {
const context = path.join(__dirname, '../');
const include = path.join(__dirname, '../src/cli');

return {
context,
Expand Down Expand Up @@ -36,17 +37,17 @@ module.exports = function getConfig(env) {
__dirname: false,
},
module: {
noParse: /requireExternal/,
noParse: [/requireExternal/, /hotTemplate/],
rules: [
{
enforce: 'pre',
test: /\.js$/,
exclude: [/node_modules/, /\.min\.js$/],
include,
use: 'eslint-loader',
},
{
test: /\.js$/,
exclude: /node_modules/,
include,
use: 'babel-loader',
},
],
Expand Down
Loading

0 comments on commit 1db82ec

Please sign in to comment.