Skip to content

Commit

Permalink
新增 lugia.config
Browse files Browse the repository at this point in the history
  • Loading branch information
SleepyAries authored and liyaqin committed Dec 27, 2018
1 parent cd6fc11 commit 8871f56
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
@@ -0,0 +1,16 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab
16 changes: 16 additions & 0 deletions lugia.config.js
@@ -0,0 +1,16 @@
export default {
disableCSSModules: true,
cssModulesWithAffix: true,
extraBabelPlugins: [
[
"import",
{
libraryName: "@lugia/lugia-web",
libraryDirectory: "dist"
}
]
],
applyWebpack(webpackConfig, { webpack, mega }) {
return webpackConfig;
}
};

0 comments on commit 8871f56

Please sign in to comment.