Skip to content

Commit

Permalink
Changing typescript output dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Sep 24, 2020
1 parent 0676a3f commit abdb393
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/lib
/tsc
/tmp
/tsc
yarn-error.log
/coverage
/test_reports
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
**/*
!dist/**
!types/**
!lib/**
!LICENSE.md
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framer-motion",
"version": "2.7.2-alpha.0",
"version": "2.7.2-alpha.1",
"main": "dist/framer-motion.cjs.js",
"module": "dist/framer-motion.es.js",
"types": "types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import replace from "@rollup/plugin-replace"
import pkg from "./package.json"

const config = {
input: "tsc/index.js",
input: "lib/index.js",
}

const external = [
Expand Down Expand Up @@ -72,7 +72,7 @@ const es = Object.assign({}, config, {
})

const m = Object.assign({}, umdProd, {
input: "tsc/render/dom/minimal-component.js",
input: "lib/render/dom/minimal-component.js",
output: Object.assign({}, umd.output, {
file: `dist/minimal-component.js`,
}),
Expand Down
2 changes: 1 addition & 1 deletion src/index-legacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
* Usage:
*
* ```
* import { legacyMotion as motion } from "framer-motion/tsc/index-legacy"
* import { legacyMotion as motion } from "framer-motion/lib/index-legacy"
* ```
*
* This isn't intended to be a publicsed API but something we can point users towards.
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"emitDecoratorMetadata": true,
"declaration": true,
"declarationDir": "types",
"outDir": "tsc",
"outDir": "lib",
"noLib": false,
"preserveConstEnums": true,
"suppressImplicitAnyIndexErrors": true,
Expand Down

0 comments on commit abdb393

Please sign in to comment.