This repository was archived by the owner on May 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * Configure Babel for Rollup
3
+ *
4
+ * @see https://babeljs.io/docs/en/options
5
+ */
1
6
module . exports = {
2
7
presets : [ '@babel/env' , '@babel/react' ] ,
3
8
plugins : [
Original file line number Diff line number Diff line change 1
1
/**
2
2
* Configure ESLint
3
3
*
4
- * https://eslint.org/docs/user-guide/configuring
4
+ * @see https://eslint.org/docs/user-guide/configuring
5
5
*/
6
6
module . exports = {
7
7
parser : 'babel-eslint' ,
Original file line number Diff line number Diff line change 2
2
* Configure Jest as the test runner for @testing-library
3
3
*
4
4
* @see https://jestjs.io/docs/en/configuration
5
+ * @see https://testing-library.com/docs/react-testing-library/setup
5
6
*/
6
7
module . exports = {
7
8
setupFilesAfterEnv : [
Original file line number Diff line number Diff line change @@ -4,11 +4,15 @@ import commonjs from 'rollup-plugin-commonjs';
4
4
import filesize from 'rollup-plugin-filesize' ;
5
5
import resolve from 'rollup-plugin-node-resolve' ;
6
6
import scss from 'rollup-plugin-scss' ;
7
-
8
7
import pkg from './package.json' ;
9
8
10
9
const root = process . platform === 'win32' ? path . resolve ( '/' ) : '/' ;
11
10
11
+ /**
12
+ * Rollup config for building the react-dat-gui library
13
+ *
14
+ * @see https://rollupjs.org/guide/en/#using-config-files
15
+ */
12
16
export default {
13
17
input : './src/index.js' ,
14
18
output : [
You can’t perform that action at this time.
0 commit comments