Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
Pieterjan Van Saet committed Jan 13, 2022
1 parent 91b7160 commit 7dba909
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"dependencies": {
"@a-ui/core": "^5.0.0",
"classnames": "~2.2.6",
"moment": "^2.24.0",
"moment": "^2.29.1",
"react-input-mask": "^2.0.4",
"react-modal": "~3.5.1",
"rxjs": "^6.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/calendar/src/Datepicker/Body.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ class Body extends Component {
)
}
}
export default Body;
export default Body;
2 changes: 1 addition & 1 deletion packages/form/src/Datepicker/Datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class Datepicker extends Component<Props> {
if (this.datepicker && this.datepicker.contains(e.target)) {
return;
}

this.setState({ open: false });
};

Expand Down
28 changes: 14 additions & 14 deletions packages/table/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@


import resolve from '@rollup/plugin-node-resolve';
import babel from '@rollup/plugin-babel';
import pkg from './package.json';
import sass from 'rollup-plugin-sass';

export default {
input: 'src/index.js',
output: [
{ file: pkg.main, format: 'cjs' },
{ file: pkg.module, format: 'es' }
],
plugins: [
resolve(),
babel({
input: 'src/index.js',
output: [
{file: pkg.main, format: 'cjs'},
{file: pkg.module, format: 'es'}
],
plugins: [
resolve(),
sass({ insert: true }),
babel({
babelHelpers: 'bundled',
exclude: ['node_modules/**'],
exclude: ['node_modules/**'],
configFile: "../../babel.config.js"
})
],
external: ['react', 'classnames'],
})
],
external: ['react', 'react-dom', 'classnames', 'react-input-mask'],
};
2 changes: 1 addition & 1 deletion packages/table/src/Table.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow
import React, { Fragment, useState } from 'react';
import classnames from 'classnames';
import get from 'lodash.get';
import * as get from 'lodash.get';

import TableLoader from './components/TableLoader';
import TableHeader from './components/TableHeader';
Expand Down

0 comments on commit 7dba909

Please sign in to comment.