Skip to content

export symbols fix #1713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ES6 or Typescript

```js
import 'gridstack/dist/gridstack.min.css';
import GridStack from 'gridstack';
import { GridStack } from 'gridstack';
// THEN to get HTML5 drag&drop
import 'gridstack/dist/h5/gridstack-dd-native';
// OR to get legacy jquery-ui drag&drop (support Mobile touch devices, h5 does not yet)
Expand Down
1 change: 1 addition & 0 deletions doc/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Change log
- fix [#219](https://github.com/gridstack/gridstack.js/issues/219) **fixing another 6 years old request** we now automatically insert extra rows
when dragging an item at the bottom below others to make it easier to insert below.
- fix [#1687](https://github.com/gridstack/gridstack.js/issues/1687) more fix for drag between 2 grids with `row / maxRow` broken in 4.x
- fix export symbols .d.ts for `gridstack-h5.js | gridstack-jq.js | gridstack-static.js`

## 4.0.3 (2021-3-28)

Expand Down
5 changes: 4 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ module.exports = function(config) {
],
// BUT list of files to exclude
exclude: [
'src/index*.ts',
// used for webpack h5/jq/static .js
"src/gridstack-h5.ts",
"src/gridstack-jq.ts",
"src/gridstack-static.ts",
'src/jq/*', // use h5 version for unit testing
// 'src/h5/*', // use jq version for unit testing
],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@
},
"exclude": [
"./src/**/*.spec.ts",
"./src/index*", // used for webpack h5/jq/static .js
// used for webpack h5/jq/static .js
"./src/gridstack-h5.ts",
"./src/gridstack-jq.ts",
"./src/gridstack-static.ts",
],
"include": [
"./src/**/*.ts"
Expand Down
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const path = require('path');

module.exports = {
entry: {
'gridstack-h5': './src/index-h5.ts',
'gridstack-jq': './src/index-jq.ts',
'gridstack-static': './src/index-static.ts'
'gridstack-h5': './src/gridstack-h5.ts',
'gridstack-jq': './src/gridstack-jq.ts',
'gridstack-static': './src/gridstack-static.ts'
},
mode: 'production', // production vs development
devtool: 'source-map',
Expand Down