Skip to content

Commit

Permalink
refactor(scaffolder): grouped the scaffolder modules in a folder
Browse files Browse the repository at this point in the history
to prepare for a lift export
  • Loading branch information
travi committed Dec 31, 2020
1 parent 0161f20 commit 861a970
Show file tree
Hide file tree
Showing 8 changed files with 77 additions and 1 deletion.
70 changes: 70 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@form8ion/eslint-config": "1.7.3",
"@form8ion/eslint-config-mocha": "1.2.9",
"@form8ion/remark-lint-preset": "1.0.11",
"@rollup/plugin-node-resolve": "11.0.1",
"@travi/any": "2.0.15",
"ban-sensitive-files": "1.9.14",
"chai": "4.2.0",
Expand Down
6 changes: 5 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
/* eslint import/no-extraneous-dependencies: ['error', {'devDependencies': true}] */
import nodeResolve from '@rollup/plugin-node-resolve';
import autoExternal from 'rollup-plugin-auto-external';

export default {
input: 'src/index.js',
plugins: [autoExternal()],
plugins: [
autoExternal(),
nodeResolve({mainFields: ['module']})
],
output: [
{file: 'lib/index.cjs.js', format: 'cjs', sourcemap: true},
{file: 'lib/index.es.js', format: 'es', sourcemap: true}
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/scaffolder/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default} from './scaffolder';
File renamed without changes.
File renamed without changes.

0 comments on commit 861a970

Please sign in to comment.