Skip to content
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

Perf.start is not a function #15

Open
bing1021 opened this issue Nov 2, 2017 · 1 comment
Open

Perf.start is not a function #15

bing1021 opened this issue Nov 2, 2017 · 1 comment

Comments

@bing1021
Copy link

bing1021 commented Nov 2, 2017

I install react-addons-perf and expose-loader in my project

here is my webpack config

     {
        test: require.resolve("react-addons-perf"),
        use: [
          {
            loader: 'expose-loader',
            options: 'Perf'
          }
        ]
      }

and i assign Perf to window

but run Perf.start is not a function ,is undefined

Why?

@crysislinux
Copy link
Owner

Sorry, I am not sure what happened, just checked react-addons-perf, the api does not change. What's the version of your webpack?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants